:root {
  --accent: #7b3fbf; /* primary purple */
  --accent-bg: #7b3fbf14; /* translucent purple used on guarantee hover */
  --accent-shadow: rgba(123, 63, 191, 0.18);
}

/* Guarantee CTA buttons styles */
.btn-guarantee-cta {
  background: #7b3fbf;
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.7em 2em;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(123, 63, 191, 0.08);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-guarantee-cta:hover {
  /* Match the "What We Guarantee" hover look: subtle translucent purple background and purple glow */
  background: var(--accent-bg);
  color: #fff;
  box-shadow: 0 8px 32px var(--accent-shadow), 0 2px 12px rgba(0, 0, 0, 0.18);
  border-radius: 20px; /* slightly rounded corners on hover */
}
.cta-icon-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: 40px;
  background: #7b3fbf;
  margin-right: 0.5em;
  transition: box-shadow 0.18s, background 0.18s;
  box-shadow: none;
}
.btn-guarantee-cta:hover .cta-icon-glow {
  background: var(--accent);
}
.cta-icon-glow i {
  color: #fff;
  font-size: 1.3em;
  filter: drop-shadow(0 0 6px #b47aff);
  transition: color 0.18s;
}
.btn-guarantee-cta:hover .cta-icon-glow i {
  color: #fff;
}
/* Contact form submit button override: make it purple to match CTAs */
.tm-btn-submit {
  background: var(--accent) !important;
  color: #fff !important;
  border: none !important;
  padding: 0.6em 1.2em !important;
  font-weight: 700 !important;
  border-radius: 0.8rem !important;
  box-shadow: 0 2px 8px rgba(123, 63, 191, 0.08) !important;
}
.tm-btn-submit:hover {
  background: var(--accent-bg) !important;
  box-shadow: 0 8px 32px var(--accent-shadow) !important;
}
/* What We Guarantee Section Styles */
.guarantee-section {
  background: transparent;
  color: #fff;
}
.guarantee-heading {
  /* font-family: "Lora", Georgia, serif; */
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.01em;
}
.guarantee-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.22s;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.guarantee-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px var(--accent-shadow), 0 2px 12px rgba(0, 0, 0, 0.18);
  background: var(--accent-bg);
}
.tm-nav-link:hover {
  transform: none;
  box-shadow: 0 8px 32px var(--accent-shadow), 0 2px 12px rgba(0, 0, 0, 0.18) !important;
  background: var(--accent-bg) !important;
}
.guarantee-icon {
  color: #7b3fbf;
  filter: drop-shadow(0 2px 8px rgba(123, 63, 191, 0.12));
}
.guarantee-title {
  /* font-family: "Lora", Georgia, serif; */
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.guarantee-desc {
  font-size: 1.1rem;
  color: #eaeaea;
}

.icon-handshake {
  /* height: 90%; */
  /* width: 80%; */
  padding: 30px;
  margin: 0px;
}
@media (max-width: 767px) {
  .guarantee-section {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .guarantee-card {
    min-height: 180px;
    padding: 1.2rem 0.7rem;
  }

  /* Mobile image tweaks: make the mobile-only hero image look polished */
  .product__description img.d-block.d-md-none {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .icon-handshake {
    /* height: 90%; */
    /* width: 80%; */
    padding: 20px;
    margin: 0px;
  }

  /* Ensure small inline images (e.g., property inspect) follow the same visual style */
  .product__description img.img-fluid.mb-3 {
    border-radius: 8px;
    object-fit: cover;
  }

  /* Make all images slightly rounded site-wide */
  img {
    border-radius: 8px;
  }

  /* Service card icons: keep a consistent size and alignment across cards */
  .service-icon {
    /* width: 72px; */
    /* height: 72px; */
    object-fit: contain;
    display: block;
    margin: 0 auto 0.5rem;
  }

  /* Desktop variant for about handshake image: make it taller and cover */
  .about-img--desktop {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
  }
}
/*

Template 2097 Pop

https://www.tooplate.com/view/2097-pop

*/

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  color: white;
  /* Fallback background color in case background image doesn't load */
  background-color: #1b1b1b;
  position: relative;
}

/* Make images rounded on desktop as they are on mobile */
img,
.img-fluid,
.about-img,
.service-hero-img,
.service-icon {
  border-radius: 8px;
  object-fit: cover;
}

/* Use Lora for nicer readable headings and write-ups where available */
/* h1, */
/* h2, */
/* .product__description, */
/* .tm-page-title { */
/* font-family: "Lora", Georgia, "Times New Roman", serif; */
/* } */
.center_title {
  text-align: center;
}
h1 {
  font-size: 2.8rem;
}

.hero h1,
.hero p {
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

/* Slightly bolder hero paragraph and keep the leading phrase on one line */
.hero p {
  font-weight: 600; /* a little bolder */
  font-size: 1.05rem; /* slightly larger for emphasis */
}
.hero-nowrap {
  white-space: nowrap; /* keep the phrase on one line */
  display: inline-block;
}

/* Allow wrapping on very small screens to avoid overflow */
@media (max-width: 420px) {
  .hero-nowrap {
    white-space: normal;
  }
}

/* New hero subtitle multi-line styling */
.hero-subtitle {
  display: block;
  margin-top: 0.2rem; /* bring subtitle closer to the elements above */
  line-height: 1.02;
}
.hero-subtitle .hero-line {
  display: block;
  /* font-family: "Lora", Georgia, serif; */
  font-weight: 700;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}
.hero-subtitle .hero-line-1 {
  font-size: 1.5rem;
}
.hero-subtitle .hero-line-2 {
  font-size: 1.5rem;
}
.hero-subtitle .hero-line-3 {
  font-size: 1.5rem;
  font-weight: 800;
}

@media (max-width: 576px) {
  .hero-subtitle .hero-line-1,
  .hero-subtitle .hero-line-2,
  .hero-subtitle .hero-line-3 {
    font-size: 1rem;
  }
}

/* Reduce spacing under hero heading/underline so subtitle sits closer */
.tm-site-header h1.mb-4 {
  margin-bottom: 0.25rem !important;
}
.tm-site-header img.img-fluid.mb-4 {
  margin-bottom: 0.15rem !important;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.cta-button {
  background: #0078ff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background 0.3s;
}
.cta-button:hover {
  background: var(--accent);
}

#tm-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/pop-bg.jpg);
  background-position: center;
  background-size: cover;
  /* Make sure icons are visible and slightly purple accent */
  .service-card i {
    color: #7b3fbf;
  }

  background-repeat: no-repeat;
  z-index: -1;
  /* Apply the same hover lift/shade to all service cards on desktop */
  .service-cards .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px var(--accent-shadow), 0 2px 12px rgba(0, 0, 0, 0.18);
    background: var(--accent-bg);
  }
  will-change: background-position;
  animation: bg-pan 30s ease-in-out infinite;
}

@keyframes bg-pan {
  0% {
    background-position: 50% 50%;
  }
  25% {
    background-position: 30% 40%;
  }
  50% {
    background-position: 50% 60%;
  }
  75% {
    background-position: 70% 40%;
  }
  100% {
    background-position: 50% 50%;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  #tm-bg {
    animation: none;
    transition: none;
  }
}

#tm-bg:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* dark overlay to dim the background image; use semi-transparent black */
  background-color: rgba(0, 0, 0, 0.45);
  pointer-events: none; /* allow clicks through to page content */
}

#tm-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 100vh;
}

p {
  line-height: 1.9;
  letter-spacing: 1px;
}

.tm-main-content {
  display: flex;
  align-items: center;
  padding: 50px 15px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: auto;
}

.tm-site-header-col {
  display: flex;
  /* stretch so the left column equals the height of the right column (so overlay matches) */
  align-items: stretch;
}

.tm-site-header {
  margin: 10px;
  text-align: right;
  width: 100%;
}

/* Ensure hero (the site header) fills the column height so its ::before overlay covers the same vertical area
   as the right column containing the four boxes. */
.tm-site-header.hero {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* keep existing visual centering of header content */
}

.tm-nav ul {
  padding-left: 0;
  display: block;
}

.tm-nav li {
  list-style: none;
  display: inline-block;
  border: 1px solid white;
  margin: 10px;
}

.tm-nav-link {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 165px;
  height: 165px;
  text-align: center;
  border: 1px solid white;
  cursor: pointer;
  position: relative;
  border-radius: 40px; /* slightly rounded corners */
  overflow: hidden; /* clip children/overlays to radius */
}

/* dark overlay for nav tiles (Welcome, About, Services, Contact) */
.tm-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none; /* don't block clicks */
  border-radius: inherit; /* match the tile radius */
}
.tm-nav-link > * {
  position: relative;
  z-index: 2; /* keep icons and text above the overlay */
}

.tm-nav-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
}

/* Make nav tile labels more prominent and readable */
.tm-nav-text {
  display: block;
  /* font-family: "Lora", Georgia, serif; */
  font-weight: 700;
  font-size: 1.5rem;
}

@media (max-width: 576px) {
  .tm-nav-text {
    font-size: 1.8rem; /* slightly larger on small screens */
    bottom: 8px;
    letter-spacing: 0.01em;
  }
}

.fa-3x {
  font-size: 2.5em;
}

.product {
  background: transparent;
  transition: all 0.3s ease;
  /* border: 1px solid white;
  border-radius: 40px; */
}

.product:hover {
  background: #c79afa;
  color: #a9a9a9;
  border-radius: 40px; /* slightly rounded corners */
  overflow: hidden; /* clip children/overlays to radius */
}

.tm-nav-icon {
  display: block;
  margin-bottom: 25px;
}

/* Expanding Grid Items from Codrops */
.tm-page-title {
  font-weight: 300;
}
.content {
  max-width: 370px;
}
.grid {
  display: flex;
  flex-wrap: wrap;
}
.grid__item {
  margin: 10px;
}
.product {
  position: relative;
  cursor: pointer;
}

.product__bg {
  width: 100%;
  height: 100%;
  top: 0px;
}

.product__bg,
.product__description {
  opacity: 0;
  position: absolute;
}

.product__description {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  /* ensure description text is readable over overlays */
  color: #f5f5f5;
  line-height: 1.9;
}

/* Popup title shown at the top of each product description (e.g., Welcome, About Us) */
.product__description .popup-title {
  text-align: center;
  margin: 0 0 1rem 0;
  font-weight: 700;
}

.tm-fa-close {
  font-size: 30px;
}

.details {
  font-size: 1rem;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  padding: 15px;
  display: none;
}

.details > * {
  position: relative;
  opacity: 0;
}

.details--open {
  pointer-events: auto;
}

.details__bg {
  width: 100%;
  max-width: 900px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.details__bg--down {
  background: #2c2a35;
}

/* make the description panels more readable: subtle backdrop */
.product__description .p-sm-4,
.product__description .p-2,
.product__description .pt-sm-4 {
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
  border-radius: 6px;
}

.tm-page-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Larger centered page titles used inside popups (e.g., "Why Choose Us?") */
.tm-page-title.center_title,
h1.tm-page-title.center_title {
  font-size: 2.4rem;
  line-height: 1.08;
}

@media (max-width: 544px) {
  .tm-page-title.center_title,
  h1.tm-page-title.center_title {
    font-size: 1.6rem;
  }
}

.details__bg {
  padding: 50px;
  transform-origin: 0 0;
}

.details__close {
  position: absolute;
  top: 5px;
  right: 0;
  border: 0;
  background: none;
  margin: 1em;
  cursor: pointer;
  font-size: 0.85em;
  color: white;
  z-index: 1001;
}

/* Team */
.tm-reverse-sm {
  flex-direction: row;
}

/* Our Work */
.tm-slider-img-link {
  padding-left: 10px;
  padding-right: 10px;
}

.slick-dots li button:before {
  font-size: 20px;
  color: white;
  opacity: 1;
}

.slick-dots {
  position: absolute;
  bottom: -40px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: deepskyblue;
}

/* Contact */
.form-control {
  font-size: 1.1rem;
  border-radius: 0;
  border: none;
  background-color: #353541;
  color: white;
  padding: 0.75rem;
}

.form-control:focus {
  color: #cecece;
  background-color: #4d4c59;
  border-color: transparent;
}

.tm-col-email {
  padding-left: 0;
}

.tm-btn-submit {
  background-color: #006599;
}

.tm-btn-gray {
  background-color: #494752;
  color: white;
}

.tm-btn-gray:hover {
  background-color: var(--accent);
  color: white;
}

.btn {
  padding: 0.5rem 2.4rem;
  font-size: 1.2rem;
  border-radius: 0;
}

.btn-primary {
  border-color: transparent;
}

.btn-primary:hover {
  background-color: var(--accent);
  border-color: transparent;
}

/* Footer */
footer {
  position: absolute;
  bottom: 30px;
  text-align: center;
  left: 0;
  right: 0;
}

.tm-text-highlight {
  color: white;
}
.tm-text-highlight:hover {
  color: var(--accent);
}
.tm-main-content.tm-footer-relative {
  flex-direction: column;
}
.tm-main-content.tm-footer-relative footer {
  position: relative;
  bottom: 0;
  margin-top: 50px;
}

.tm-copyright-text {
  background-color: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 10px 30px;
}

a,
button {
  transition: all 0.3s ease;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .container {
    max-width: 900px;
  }
}

@media (min-width: 767px) and (max-width: 991px), (max-width: 440px) {
  .tm-nav-link {
    width: 145px;
    height: 145px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 450px;
  }
  /* center the site header and navigation tiles on small screens */
  .tm-site-header {
    text-align: center;
  }
  .tm-site-header.hero {
    align-items: center; /* center hero contents (logo, h1) in the column */
  }
  .content {
    margin-left: auto;
    margin-right: auto; /* center the right column under the header on small screens */
  }
  .tm-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center the tiles */
  }
  .grid {
    justify-content: center; /* center the grid items */
  }
  .tm-col-email {
    padding-left: 15px;
  }
  .tm-reverse-sm {
    flex-direction: column-reverse;
  }
  .tm-nav-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 544px) {
  .tm-main-content {
    flex-direction: column;
  }
  .details__bg {
    padding: 55px 40px;
  }
  .slick-dots li button:before {
    font-size: 15px;
  }

  footer {
    position: relative;
    bottom: 0;
  }
  .tm-nav-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 419px) {
  .tm-nav-link {
    width: 120px;
    height: 120px;
  }

  .fa-3x {
    font-size: 2.2em;
  }
}

/* top-left logo styles (placed at end to ensure overrides) */
.top-left-logo-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000; /* above hero overlay */
  display: inline-block;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.top-left-logo {
  display: block;
  width: 96px;
  height: auto;
}
@media (max-width: 991px) {
  .top-left-logo-link {
    top: 14px;
    left: 14px;
    padding: 10px;
  }
  .top-left-logo {
    width: 72px;
  }
}
@media (max-width: 575px) {
  .top-left-logo-link {
    top: 10px;
    left: 10px;
    padding: 8px;
  }
  .top-left-logo {
    width: 56px;
  }
}

/* Bouncing around animation for the small logo */
@keyframes floatAround {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(40vw, 5vh) scale(1.03);
  }
  50% {
    transform: translate(20vw, 40vh) scale(0.98);
  }
  75% {
    transform: translate(-10vw, 20vh) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.top-left-logo-box {
  animation: floatAround 12s ease-in-out infinite;
  pointer-events: none; /* ensure it doesn't capture clicks */
}

@media (prefers-reduced-motion: reduce) {
  .top-left-logo-box {
    animation: none !important;
    transform: none !important;
  }
}

/*dark overlay*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* Make sure hero itself creates a stacking context and its children sit above the overlay */
.hero {
  position: relative;
}
.hero > * {
  position: relative;
  z-index: 2;
}
.hero::before {
  /* allow interactions through overlay and avoid blocking text selection */
  pointer-events: none;
}

/* hero logo alignment */
.hero-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .hero-logo {
    width: 48px;
    height: 48px;
  }
}

/* centered logo above hero heading */
.hero-top-logo {
  display: block;
  margin: 0 auto 0.75rem auto;
  width: 140px; /* total box width including padding */
  height: auto;
  box-sizing: border-box; /* ensure padding doesn't increase total width */
  padding: 8px; /* white 'ring' around the image */
  background: #ffffff; /* white shade */
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
@media (max-width: 767px) {
  .hero-top-logo {
    width: 100px;
    padding: 6px;
  }
}

/* top-left fixed logo */
.top-left-logo-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 2000; /* above overlays */
  display: inline-block;
}
.top-left-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) {
  .top-left-logo {
    width: 44px;
    height: 44px;
  }
  .top-left-logo-link {
    top: 12px;
    left: 12px;
  }
}

/* Fade-in animation for hero elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-top-logo,
.tm-site-header.hero h1,
.tm-site-header.hero p {
  opacity: 0; /* start hidden, animation will reveal */
}

/* debug: ensure logo is visible in case animation or caching hides it */
.hero-top-logo {
  opacity: 1 !important;
  transform: none !important;
}

.hero-top-logo {
  animation: fadeInUp 700ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: 80ms;
}
.tm-site-header.hero h1 {
  animation: fadeInUp 800ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: 200ms;
}
.tm-site-header.hero p {
  animation: fadeInUp 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  animation-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-top-logo,
  .tm-site-header.hero h1,
  .tm-site-header.hero p {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero-logo {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.06);
}
.hero-logo-link:hover .hero-logo {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* About subsections styling */
.about-section .about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.about-section h3 {
  margin-top: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.about-section p,
.about-section ul {
  color: rgba(255, 255, 255, 0.92);
}

.about-section ul {
  padding-left: 1.1rem;
}

.about-values .value-item {
  background: rgba(226, 59, 223, 0.03);
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
  margin-top: 0.75rem;
}

.about-values .value-item i {
  color: #7b3fbf;
  margin-right: 0.6rem;
}

/* Contact area styling (non-intrusive) */
.contact-intro p {
  line-height: 1.45;
  margin-bottom: 0.55rem;
}

.contact-details {
  /* slightly lighter shade so it sits closer to the page background */
  background: rgba(0, 0, 0, 0.22);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  border-left: 4px solid var(--accent);
}
.contact-details h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.contact-details .contact-line {
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.contact-details i {
  color: var(--accent);
  width: 1.1em;
  display: inline-block;
  text-align: center;
  margin-right: 0.5rem;
  vertical-align: top; /* keep icon aligned with multi-line address */
}

.contact-text {
  display: inline-block;
  max-width: calc(100% - 1.6em);
}
.contact-details a {
  color: #fff;
  text-decoration: underline dotted rgba(255, 255, 255, 0.08);
}
.contact-details a:hover {
  color: var(--accent);
  text-decoration: none;
}

.map-strip {
  /* Now constrained to the normal .container width so it matches other content */
  background: transparent; /* keep it visually inline with page content */
  padding: 0.5rem 0; /* small vertical spacing */
}
.map-full {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
@media (max-width: 767px) {
  .map-full {
    height: 220px;
  }
}

/* small polish */
.contact-details .contact-line a:hover {
  color: var(--accent);
}

.about-values .value-item h4 {
  display: inline-block;
  margin: 0 0 0.35rem 0;
}

@media (max-width: 767px) {
  .about-section .about-img {
    margin-bottom: 1rem;
  }
}

/* Reveal / entrance animations for about subsections */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition: opacity 600ms cubic-bezier(0.2, 0.9, 0.2, 1)
      var(--reveal-delay, 0ms),
    transform 600ms cubic-bezier(0.2, 0.9, 0.2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.about-section .about-img.reveal {
  transform: translateX(-26px) scale(0.995);
}
.about-section h3.reveal {
  transform: translateX(26px) scale(0.995);
}
.about-values .value-item.reveal {
  transform: translateY(24px) scale(0.995);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* If the JS that triggers reveal animations fails or runs after content is
   shown, ensure About subsection content remains visible. This override
   prevents elements from remaining hidden until an intersection occurs. */
.about-section .about-img,
.about-section h3,
.about-section p,
.about-section ul,
.about-values .value-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Services section styles */
/* Minimal Services styles: highlight Guaranteed Rent and keep grid tidy */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.service-cards > .col-12 {
  padding-left: 12px;
  padding-right: 12px;
}
.service-cards .service-card {
  background: #ffffff05;
  padding: 8px;
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.95);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

/* Shade / highlight for Guaranteed Rent */
.service-card--highlight {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.32));
  border: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 4px 10px rgba(0, 0, 0, 0.22);
}

/* Make sure icons are visible and slightly purple accent */
.service-card i {
  color: #7b3fbf;
}

@media (max-width: 767px) {
  .service-cards {
    margin-left: 0;
    margin-right: 0;
  }
  .service-cards > .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Desktop-only hover: apply lift/shade to all service cards */
@media (hover: hover) and (pointer: fine) {
  .service-cards .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--accent-shadow), 0 2px 8px rgba(0, 0, 0, 0.14);
    background: rgba(123, 63, 191, 0.06);
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-cards .service-card,
  .service-cards .service-card:hover {
    transition: none !important;
    transform: none !important;
  }
}

/* Placeholder block used while an image is not supplied */
.service-placeholder {
  width: 100%;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border-radius: 6px;
  display: block;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

@media (max-width: 767px) {
  .service-placeholder {
    height: 120px;
  }
}
