body {
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #222;
  margin: 0;
}

/* hide mobile-only elements by default; show them inside the mobile media query */
.mobile-search-row {
  display: none;
}

/* make sizing predictable and prevent accidental page-level horizontal scroll on mobile */
*,
*::before,
*::after {
  box-sizing: border-box;
}
@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }
}

.hero-section {
  position: relative;
  min-height: 500px;
  background: #222;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1500&q=80')
    center/cover no-repeat;
  filter: brightness(0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 120px;
}
.hero-title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 0.4rem; /* tighten gap to subtitle */
  font-weight: 700;
}
.hero-subtitle {
  color: #f1f5f9;
  font-size: 1.5rem; /* slightly larger subtitle */
  margin-top: 0.18rem; /* reduce gap from H1 */
  margin-bottom: 1.1rem; /* add space after subtitle */
  font-weight: 600;
  opacity: 0.95;
}
.search-section-title {
  color: #314481;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-align: center;
}
.search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.search-input {
  flex: 1;
  padding: 1.1rem 1rem;
  border: 2px solid #7ed321;
  border-radius: 8px;
  background: #f8f9fa;
  font-size: 1.1rem;
  color: #314481;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.04);
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search-input-full {
  width: 100%;
  flex: none;
}
.search-input:focus {
  box-shadow: 0 0 0 2px #7ed32144;
  border-color: #6cc01e;
}
.search-btn {
  width: 100%;
  padding: 1.1rem;
  background: #7ed321;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}
.search-btn:hover {
  background: #6cc01e;
}

/* Filter Dropdowns */
.search-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.filter-dropdown {
  position: relative;
}

.filter-btn {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 2px solid #e8eef5;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #314481;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: #7ed321;
  background: #f8f9fa;
}

.filter-btn.active {
  border-color: #7ed321;
  background: #f8f9fa;
}

.filter-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.filter-btn.active i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 2px solid #e8eef5;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(49, 68, 129, 0.12);
  padding: 0.85rem 0.75rem;
  display: none;
  z-index: 1000;
  min-width: 250px;
  overflow: hidden;
  box-sizing: border-box;
}

.dropdown-menu.show {
  display: block;
  max-height: 300px;
  overflow-y: scroll;
}

/* Property Type Checkboxes */
.dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease;
  margin-bottom: 0.15rem;
}

.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: #f8f9fa;
}

.dropdown-item input[type='checkbox'] {
  width: 22px;
  height: 22px;
  margin-right: 0.85rem;
  cursor: pointer;
  accent-color: #7ed321;
  flex-shrink: 0;
}

.dropdown-item span {
  font-size: 0.85rem;
  color: #314481;
  font-weight: 600;
}

/* Option Buttons (Bedrooms/Bathrooms) */
.option-buttons {
  display: flex;
  gap: 0.35rem;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
}

.option-btn {
  flex: 0 1 calc(20% - 0.28rem);
  padding: 0;
  background: #fff;
  border: 2px solid #e8eef5;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #314481;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 38px;
  height: 38px;
  max-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.option-btn:hover {
  border-color: #7ed321;
  background: #f8f9fa;
}

.option-btn.active {
  background: #7ed321;
  border-color: #7ed321;
  color: #fff;
}

/* Price Range Inputs */
.price-dropdown {
  min-width: 100%;
  overflow: hidden;
}

.price-inputs {
  display: flex;
  gap: 0.4rem;
  padding: 0;
  overflow: hidden;
}

.price-input {
  flex: 1;
  padding: 0.65rem 0.35rem;
  border: 2px solid #e8eef5;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #314481;
  text-align: center;
  background: #f8f9fa;
  transition: all 0.3s ease;
  min-width: 0;
  width: calc(50% - 0.2rem);
  max-width: calc(50% - 0.2rem);
  box-sizing: border-box;
}

.price-input:focus {
  outline: none;
  border-color: #7ed321;
  background: #fff;
}

/* Icon Box Section */
.icon-box-section {
  background: #fff;
  padding: 15.5rem 0 1.5rem 0;
}
.icon-box-grid {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.icon-box {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.04);
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #314481;
  font-weight: 700;
  min-width: 170px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.icon-box i {
  font-size: 2.2rem;
  color: #7ed321;
}
.icon-box:hover {
  box-shadow: 0 6px 24px rgba(49, 68, 129, 0.1);
  transform: translateY(-4px) scale(1.04);
}

/* Carousel Section */
.carousel-section {
  background: #fff;
  padding: 2.5rem 0 1.5rem 0;
}

/* header and boxed container */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}
.carousel-section .section-title {
  font-size: 2rem;
  color: #314481;
  font-weight: 700;
  margin: 0;
}
.show-all-btn {
  background: transparent;
  border: 2px solid #7ed321;
  color: #314481;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.show-all-btn:hover {
  background: #7ed321;
  color: #fff;
}

/* the carousel itself is boxed to the page width */
.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc((100% - 3rem) / 3);
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.04);
  padding: 0;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
  scroll-snap-align: start;
}

/* modifier: show 6 items per viewport */
.carousel--six .carousel-item {
  flex: 0 0 calc((100% - 7.5rem) / 6);
}

/* Variants to make six-per-row tighter or looser */
.carousel--six.tight {
  gap: 1rem;
}
.carousel--six.tight .carousel-item {
  flex: 0 0 calc((100% - 5rem) / 6);
}
.carousel--six.loose {
  gap: 2rem;
}
.carousel--six.loose .carousel-item {
  flex: 0 0 calc((100% - 10rem) / 6);
}

.carousel-item img {
  width: 100%;
  display: block;
}

.project-card {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.project-name {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
}

/* carousel navigation buttons (positioned against the boxed carousel) */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 40;
}
.carousel-nav .nav-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(49, 68, 129, 0.08);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}
.carousel-nav .nav-btn i {
  font-size: 16px;
  color: #314481;
}
.carousel-nav .nav-btn {
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.carousel-nav .nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.carousel-nav .nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.carousel-nav .nav-btn:focus-visible {
  outline: 3px solid rgba(126, 211, 33, 0.25);
  box-shadow: 0 6px 20px rgba(49, 68, 129, 0.12);
}
.carousel-nav.left {
  left: 8px;
}
.carousel-nav.right {
  right: 8px;
}

/* Focus styles for accessibility */
.carousel:focus-visible {
  outline: 3px solid rgba(126, 211, 33, 0.12);
  outline-offset: 4px;
}
.carousel-item:focus {
  outline: none;
}
.project-card:focus-visible {
  box-shadow: 0 0 0 4px rgba(126, 211, 33, 0.12);
  transform: translateY(-2px);
}
.carousel-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Locations Section */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 1100px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}
.location-box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.04);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.location-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.location-box span {
  color: #314481;
  font-weight: 600;
  font-size: 1rem;
}
.location-box:hover {
  box-shadow: 0 6px 24px rgba(49, 68, 129, 0.1);
  transform: translateY(-4px) scale(1.04);
}

/* Services Row Section */
.services-row-section {
  background: #fff;
  padding: 8rem 0 8rem 0;
}
.services-row {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
}
.service-box {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1.05rem;
  color: #314481;
  font-weight: 700;
  min-width: 140px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 1.8rem 1.6rem;
  display: flex;
  align-items: flex-start;
  background: #ffffff;
}
.service-box:hover {
  box-shadow: 0 6px 24px rgba(49, 68, 129, 0.1);
  transform: translateY(-4px) scale(1.04);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.6rem;
  color: #fff;
  position: relative;
  z-index: 2;
}
.service-box .content {
  flex: 1 1 auto;
  text-align: left;
}
.service-box .content span {
  display: block;
  font-size: 1rem;
  color: #314481;
  font-weight: 800;
}
.service-box .content p {
  margin: 0;
  color: #556072;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 400;
}
.services-row .service-box {
  position: relative;
  overflow: visible;
}

.services-row .service-box::before {
  content: '';
  position: absolute;
  left: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
  transform: translate(0, 0);
}
.services-row .service-box:nth-child(1)::before {
  background: radial-gradient(circle at 30% 30%, #7ed321 20%, transparent 40%);
}
.services-row .service-box:nth-child(2)::before {
  background: radial-gradient(circle at 30% 30%, #4aa3ff 20%, transparent 40%);
}
.services-row .service-box:nth-child(3)::before {
  background: radial-gradient(circle at 30% 30%, #ff9f43 20%, transparent 40%);
}

.service-box > .service-icon,
.service-box .content {
  position: relative;
  z-index: 1;
}

a.service-box {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

a.service-box:hover {
  transform: translateY(-4px) scale(1.02);
}

a.service-box:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(126, 211, 33, 0.12);
  border-radius: 12px;
}

.services-row .service-box:nth-child(1) .service-icon {
  background: #7ed321;
}
.services-row .service-box:nth-child(2) .service-icon {
  background: #4aa3ff;
}
.services-row .service-box:nth-child(3) .service-icon {
  background: #ff9f43;
}

/* Responsive: stack services on small screens */
@media (max-width: 900px) {
  .services-row {
    max-width: 100%;
    padding: 0 1rem;
    gap: 1rem;
  }
  .service-box {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }
  .service-box .content {
    text-align: center;
  }
  .service-box::before {
    display: none;
  }
  .service-icon {
    margin-bottom: 0.5rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  html {
    --page-side-padding: 16px;
  }

  body {
    padding-left: var(--page-side-padding);
    padding-right: var(--page-side-padding);
  }

  .hero-section {
    margin-left: calc(-1 * var(--page-side-padding));
    margin-right: calc(-1 * var(--page-side-padding));
    width: calc(100% + (var(--page-side-padding) * 2));
  }

  /* Filter dropdowns responsive */
  .search-filters {
    grid-template-columns: 1fr 1fr;
  }

  /* make major section backgrounds full-bleed while content remains boxed */
  .icon-box-section,
  .carousel-section,
  .locations-section,
  .services-row-section,
  .expert-advice-section {
    margin-left: calc(-1 * var(--page-side-padding));
    margin-right: calc(-1 * var(--page-side-padding));
    width: calc(100% + (var(--page-side-padding) * 2));
    padding-left: 0;
    padding-right: 0;
  }

  /* keep inner content boxed by re-adding the page gutters to the direct content
     wrappers. Background stays full-bleed on the section, but content will be
     padded to match the page gutters so layout doesn't stretch edge-to-edge. */
  .icon-box-section > .icon-box-grid,
  .carousel-section > .carousel-wrap,
  .locations-section > .locations-grid,
  .services-row-section > .services-row,
  .expert-advice-section > .container,
  .section-header {
    padding-left: var(--page-side-padding);
    padding-right: var(--page-side-padding);
  }

  .mobile-search-row {
    padding: 0;
  }
  .icon-box-grid {
    padding: 0;
  }
  .locations-grid {
    padding: 0;
  }
  .services-row {
    padding: 0;
  }

  .search-row {
    flex-direction: column;
    gap: 0.7rem;
  }
  .hero-section {
    min-height: 360px;
    align-items: center;
  }
  .hero-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.05;
    padding: 0 8px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  .hero-subtitle {
    font-size: 1.5rem;
    margin-top: 0.35rem;
    color: rgba(241, 245, 249, 0.95);
    padding: 0 8px;
  }
  .hero-bg {
    filter: brightness(0.45);
  }
  .icon-box-section {
    padding-top: 6rem;
  }
  .icon-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
  }
  .icon-box {
    width: 100%;
    height: 140px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }
  .icon-box i {
    font-size: 1.6rem;
  }

  .search-form.open {
    display: block;
    margin: 1rem 0 0 0;
    padding: 1rem 0.8rem 0.8rem 0.8rem;
    opacity: 1;
  }

  .mobile-search-row {
    display: flex;
    justify-content: center;
    margin-top: 0.8rem;
    padding: 0;
  }
  .search-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 220;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid rgba(49, 68, 129, 0.08);
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(49, 68, 129, 0.08);
    cursor: pointer;
    width: 100%;
    max-width: 640px;
    justify-content: center;
    font-weight: 800;
    color: #7ed321;
    transition: background 220ms ease, box-shadow 180ms ease,
      border-color 180ms ease;
  }
  .search-pill i {
    color: #7ed321;
    font-size: 1.05rem;
  }
  .search-pill .search-label {
    font-weight: 800;
    color: #7ed321;
    letter-spacing: 0.1px;
  }
  .search-pill::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 0.6rem;
    transition: transform 220ms ease, opacity 160ms ease;
    opacity: 0.95;
  }
  .search-pill[aria-expanded='true']::after {
    transform: rotate(-135deg);
    color: #7ed321;
  }
  .search-pill[aria-expanded='true'] {
    background: linear-gradient(180deg, #f5fff2, #f0fff0);
    border-color: rgba(126, 211, 33, 0.35);
    box-shadow: 0 12px 36px rgba(50, 93, 34, 0.08);
    color: #1f3a20;
  }
  .search-pill:focus-visible {
    outline: 3px solid rgba(126, 211, 33, 0.18);
    outline-offset: 3px;
  }
  .icon-box-grid,
  .services-row {
    gap: 1.2rem;
  }
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    align-items: stretch;
    justify-items: stretch;
  }
  .carousel-item {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
  .carousel--six .carousel-item {
    flex: 0 0 calc((100% - 1.5rem) / 3);
  }
}

@media (min-width: 901px) {
  .search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1rem 1rem 1rem 1rem;
    box-shadow: 0 8px 32px rgba(49, 68, 129, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border: 4px solid #fff;
  }
}
@media (max-width: 600px) {
  html {
    --page-side-padding: 12px;
  }

  /* Filter dropdowns stack on mobile */
  .search-filters {
    grid-template-columns: 1fr;
  }

  .option-btn {
    min-width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .price-dropdown {
    min-width: 100%;
  }

  .hero-title {
    font-size: 1.6rem;
  }
  .hero-subtitle {
    font-size: 1.4rem;
  }
  .hero-section {
    min-height: 260px;
    align-items: center;
  }
  .hero-content {
    padding-top: 18px;
    padding-bottom: 36px;
  }
  .hero-bg {
    filter: brightness(0.4);
  }
  /* tighter icon-box spacing for small phones */
  .icon-box-section {
    padding-top: 4rem;
    padding-bottom: 1rem;
  }
  .icon-box-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    max-width: 100%;
    padding: 0;
  }
  .icon-box {
    height: 120px;
    padding: 0.9rem;
  }
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: 100%;
    max-width: none;
    padding: 0;
    align-items: stretch;
    justify-items: stretch;
  }
  .location-box {
    width: 100%;
    height: 120px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }
  .location-box img {
    width: 100%;
    height: calc(100% - 30px);
    object-fit: cover;
  }
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px; /* smallest screens: very tight gap */
    width: 100%;
    max-width: none;
    padding: 0 4px;
    align-items: stretch;
    justify-items: stretch;
  }
  .location-box {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 120px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .location-box img {
    width: 100%;
    height: calc(100% - 36px); /* leave room for label */
    object-fit: cover;
    border-radius: 8px;
  }
  .search-form {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .icon-box {
    padding: 1.2rem 0.7rem;
    min-width: 120px;
    font-size: 0.97rem;
  }
  .carousel-item {
    min-width: 220px;
    padding: 0.7rem;
  }
  .locations-grid {
    gap: 0.25rem; /* ~4px tighter final override for smallest phones */
  }
  .location-box {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 6px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: center;
  }
  .location-box img {
    width: 100%;
    height: calc(100% - 36px); /* leave room for label */
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }
  .service-box {
    padding: 0.7rem 0.7rem;
    min-width: 90px;
    font-size: 0.9rem;
  }

  /* Mobile: stack services one per row for better readability and touch targets */
  .services-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 0;
  }
  .services-row .service-box {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .carousel-item {
    flex: 0 0 100%;
  }
  .carousel--six .carousel-item {
    flex: 0 0 100%;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Expert Advice Section */
.expert-advice-section {
  background: #f8f9fa;
  padding: 4rem 0;
}

.advice-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.advice-icon {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  color: #7ed321;
  background: #f0f8ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advice-content h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.advice-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Anchor tags styled as buttons */
a.action-btn,
a.btn-call,
a.btn-whatsapp,
a.page-btn,
a.read-more-btn,
a.advice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

a.action-btn:hover,
a.btn-call:hover,
a.btn-whatsapp:hover,
a.page-btn:hover,
a.read-more-btn:hover,
a.advice-btn:hover {
  text-decoration: none;
}

.advice-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.advice-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Advice Buttons Container */
.advice-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.advice-buttons .contact-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.advice-buttons .contact-btn.call-btn {
  background: #314481;
  color: white;
}

.advice-buttons .contact-btn.call-btn:hover {
  background: #23315d;
  transform: translateY(-2px);
}

.advice-buttons .contact-btn.whatsapp-btn {
  background: #25d366;
  color: white;
}

.advice-buttons .contact-btn.whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.advice-buttons .contact-btn.zoom-btn {
  background: #2d8cff;
  color: white;
}

.advice-buttons .contact-btn.zoom-btn:hover {
  background: #1a75ff;
  transform: translateY(-2px);
}

/* Mobile: make Expert Advice stack and avoid breaking layout */
@media (max-width: 600px) {
  .advice-card {
    flex-direction: column;
    align-items: stretch;
    padding: 2.2rem;
    gap: 2.5rem;
  }
  .advice-icon {
    margin: 0 auto;
  }
  .advice-content {
    text-align: center;
  }

  .advice-buttons .contact-btn {
    padding: 0.8rem 0.6rem;
    min-width: 50px;
  }

  .advice-buttons .contact-btn .btn-text {
    display: none;
  }

  .advice-buttons .contact-btn i {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 12px;
  }
}
