/* ===== CSS RESET & BASE NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #FFF;
  color: #212B36;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #6E1FFF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD600;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
  margin: 0;
}
input, select, textarea {
  border-radius: 8px;
  border: 2px solid #F0F0F0;
  background: #FFF;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
  border: 2px solid #6E1FFF;
  background: #F8F5FF;
}
section {
  width: 100%;
}

/* ===== BRAND FONTS (Montserrat & Roboto) ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  color: #6E1FFF;
  margin-bottom: 16px;
  letter-spacing: -1px;
  text-shadow: 0 2px 0 #FFD60066;
}
h2 {
  font-size: 2rem;
  color: #212B36;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  color: #212B36;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, label, input, select, textarea, span, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #333;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
blockquote {
  font-style: italic;
  color: #212B36;
  padding: 0 10px;
  position: relative;
  border-left: 3px solid #FFD600;
  margin-bottom: 6px;
}

/* ===== CONTAINER & LAYOUT PATTERNS ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F5FF;
  border-radius: 20px;
  box-shadow: 0 4px 16px 2px #efefef50;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 36px 5px #6E1FFF25;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid,
.partner-logos,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.partner-logos img {
  height: 40px;
  margin-right: 22px;
  filter: drop-shadow(0 2px 8px #FFD60055);
}
.features-grid > div {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #FFD60022;
  padding: 24px 18px;
  flex: 1 0 205px;
  text-align: center;
  min-width: 190px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 18px;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px 2px #6E1FFF15;
  transform: scale(1.035);
}
.features-grid img {
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 5px #FFD60055);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 6px 20px #FFD60022;
  margin-bottom: 24px;
  min-width: 270px;
  max-width: 670px;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.12rem;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 16px 44px 10px #6E1FFF22;
}
.testimonial-card blockquote {
  color: #212B36;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin: 0;
}
.testimonial-card span {
  color: #6E1FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-left: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* === Team & Blog Layouts === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
}
.team-member {
  background: #F8F5FF;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #FFD60022;
  padding: 24px;
  flex: 1 0 230px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.team-member h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.social-links a img {
  width: 28px;
  filter: brightness(1.2) saturate(1.6);
  transition: filter 0.2s;
}
.social-links a:hover img {
  filter: brightness(1.2) drop-shadow(0 2px 3px #FFD60099);
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-item {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 9px 0 #FFD60019;
  padding: 20px 18px;
  flex: 1 0 265px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 7px 22px 0 #6E1FFF28;
}

/* === Property Cards === */
.property-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.property-card {
  background: #F8F5FF;
  border-radius: 16px;
  box-shadow: 0 4px 16px #FFD60012;
  padding: 24px 18px;
  flex: 1 0 220px;
  min-width: 200px;
  max-width: 310px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.property-card:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 12px 36px 8px #6E1FFF12;
}

/* === Newsletters Signup === */
.newsletter-signup {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.newsletter-signup input[type=email] {
  width: 240px;
  max-width: 90vw;
  background: #FFF;
  border: 2px solid #FFD600;
  font-size: 1rem;
  border-radius: 8px;
  box-shadow: 0 3px 8px #FFD60013;
}


/* ===== BUTTONS & CTAS ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #FFD600;
  color: #212B36;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  padding: 12px 28px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px 1px #FFD60037;
  transition: background 0.14s, color 0.17s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
  border: none;
  text-shadow: 0 1px 0 #FFF7C0DD;
}
.cta-btn.primary {
  background: #6E1FFF;
  color: #FFF;
  box-shadow: 0 3px 12px 1px #6E1FFF33;
  text-shadow: 0 2px 4px #0002;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD600;
  color: #212B36;
  transform: scale(1.05);
  box-shadow: 0 7px 24px 7px #FFD60055;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #212B36;
  color: #FFD600;
  box-shadow: 0 8px 28px 9px #6E1FFF45;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: #F8F5FF;
  box-shadow: 0 4px 24px #FFD6000C;
  z-index: 10;
  position: relative;
  padding: 0;
}
header .container {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #212B36;
  font-size: 1.04rem;
  padding: 4px 12px;
  border-radius: 8px;
  background: none;
  transition: background 0.2s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #FFD600;
  color: #6E1FFF;
}
header .cta-btn.primary {
  margin-left: 12px;
  font-size: 1.06rem;
  padding: 8px 22px;
  text-shadow: none;
}
header a img {
  height: 38px;
  margin-right: 10px;
}

/* ===== MOBILE BURGER MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 1002;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFD600;
  color: #212B36;
  font-size: 2rem;
  box-shadow: 0 2px 8px #FFD60033;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.16s;
}
.mobile-menu-toggle:active {
  background: #6E1FFF;
  color: #FFD600;
  transform: scale(0.98);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 96vw;
  max-width: 420px;
  height: 100vh;
  background: #FFF;
  box-shadow: -2px 0 18px 2px #6E1FFF44;
  z-index: 1200;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.57,.14,.35,.87);
  display: flex;
  flex-direction: column;
  padding-top: 22px;
  padding-left: 30px;
  padding-right: 20px;
  padding-bottom: 40px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #6E1FFF;
  border: none;
  border-radius: 50%;
  background: #FFD600;
  box-shadow: 0 2px 8px #FFD60033;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.16s;
  z-index: 1202;
}
.mobile-menu-close:active {
  background: #6E1FFF;
  color: #FFD600;
  transform: scale(0.98);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 34px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #212B36;
  font-size: 1.20rem;
  padding: 15px 0 9px 8px;
  border-radius: 10px;
  background: none;
  transition: background 0.19s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F8F5FF;
  color: #6E1FFF;
}
@media (max-width:1150px) {
  .container{max-width:98vw;}
}
@media (max-width: 1024px) {
  header nav {
    gap: 8px;
  }
  .features-grid, .team-grid, .property-cards, .blog-list, .partner-logos {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .content-grid, .team-grid, .features-grid, .property-cards, .blog-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 950px) {
  header .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    min-height: unset;
  }
}
@media (max-width: 880px) {
  .content-wrapper {gap: 12px;}
  .section {padding:28px 8px;}
}
@media (max-width: 768px) {
  h1 {font-size:2.10rem;}
  h2 {font-size:1.40rem;}
  h3 {font-size:1.06rem;}
  .container{padding-left:7px;padding-right:7px;}
  .section {padding: 22px 5px;}
  .content-grid, .partner-logos, .features-grid, .property-cards, .blog-list, .team-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    font-size:1rem;
  }
  .newsletter-signup{flex-direction:column;gap:6px;align-items:flex-start;}
  .mobile-menu-toggle {
    display: block;
  }
  header nav, header .cta-btn.primary {
    display: none !important;
  }
  header .container{
    min-height:58px;
    padding-bottom:5px;
  }
  header a img {
    height: 30px;
  }
}

/* ===== FOOTER STYLES ===== */
footer {
  background: #6E1FFF;
  color: #FFF;
  padding: 0;
  width: 100%;
  box-shadow: 0 -4px 28px #FFD6000C;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
  padding-top: 34px;
  padding-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFD600;
}
.footer-brand img {
  height: 34px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: #FFD600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  font-size: 1rem;
  text-decoration: underline dotted 1.7px;
  transition: color 0.15s, text-decoration 0.21s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FFF;
  text-decoration: underline solid 2px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.footer-contact img {
  height: 20px;
  margin-right: 5px;
  filter: drop-shadow(0 1px 2px #FFD60055);
}
@media (max-width: 900px) {
  footer .container{
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
      padding-top: 20px;padding-bottom: 20px;
  }
}

/* ====== FORMS, LABELS & LISTS ====== */
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  margin-bottom: 5px;
  color: #212B36;
}
.text-section ul, .trust-list, .features-list  {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.text-section ul li, .trust-list li, .features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 7px;
  font-size: 1rem;
}
.text-section ul li img, .trust-list li img, .features-list li img {
  height: 24px;
}
.stepper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom:8px;
  counter-reset: step;
}
.stepper li {
  position: relative;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 0 2px 9px #FFD60018;
  padding: 20px;
  margin-bottom: 10px;
  font-size:1.09rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.16s, box-shadow 0.21s;
}
.stepper li:before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 16px;
  left: -30px;
  background: #FFD600;
  color: #6E1FFF;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2em;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 7px #FFD60033;
}
@media (max-width: 630px) {
  .stepper li:before {display: none;}
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.faq-list dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #6E1FFF;
  margin-top: 3px;
  font-size:1.06rem;
}
.faq-list dd {
  margin-bottom: 8px;
  margin-left: 10px;
  font-size:1.04rem;
  color: #212B36;
}

textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 330px;
}

/* ===== ANIMATIONS & MICRO-INTERACTIONS ===== */
.card, .property-card, .features-grid > div, .blog-item, .team-member, .testimonial-card, .stepper li {
  animation: floatIn 0.65s cubic-bezier(.7,.1,.22,1.1) both;
}
@keyframes floatIn {
  from { opacity:0; transform: translateY(40px) scale(0.98); }
  to   { opacity:1; transform: none; }
}
.cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  animation: popIn 0.7s cubic-bezier(.47,.1,.38,1.4) both;
}
@keyframes popIn {
  0% { opacity:0; transform: scale(0.8) rotate(-5deg); }
  80% { opacity:1; transform: scale(1.05) rotate(2deg); }
  100% { opacity:1; transform: none; }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  bottom: 24px;
  z-index: 3000;
  width: 98vw;
  max-width: 430px;
  background: #FFF;
  box-shadow: 0 6px 32px 0 #6E1FFF29, 0 2px 10px #FFD60019;
  padding: 30px 22px 18px 22px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  font-size: 1.06rem;
  color: #212B36;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform 0.44s cubic-bezier(.73,.1,.22,1.16);
  opacity:0.96;
}
.cookie-consent-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-consent-banner h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09em;
  color: #6E1FFF;
  margin-bottom: 6px;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: 25px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #FFD600;
  color: #212B36;
  margin-bottom: 0;
  transition: background 0.18s, color 0.2s, transform 0.14s;
  box-shadow: 0 1px 6px #FFD60016;
}
.cookie-consent-banner button.settings {
  background: #FFF;
  color: #6E1FFF;
  border: 2px solid #FFD600;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #6E1FFF;
  color: #FFD600;
  transform: scale(1.07);
}
.cookie-consent-banner button.settings:hover, .cookie-consent-banner button.settings:focus {
  background: #FFD600;
  color: #212B36;
  border: 2px solid #6E1FFF;
}

/* ====== COOKIE SETTINGS MODAL ====== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 3100;
  transform: translate(-50%, -55%) scale(0.95);
  background: #FFF;
  box-shadow: 0 7px 45px 10px #6E1FFF22;
  width: 97vw;
  max-width: 440px;
  min-height: 320px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 34px 30px 22px 30px;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.42s cubic-bezier(.69,.12,.25,1.19);
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h3 {
  color: #6E1FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19em;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 7px;
  width:100%;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 9px;
  background: #F8F5FF;
  padding: 11px 14px;
  font-size: 1.05em;
  color: #212B36;
}
.cookie-modal .category input[type=checkbox] {
  accent-color: #FFD600;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.cookie-modal .category label {
  color: #212B36;
  font-weight: 600;
  font-size: 1.06em;
}
.cookie-modal .category[disabled]{
  opacity:0.68;
  pointer-events:none;
  color: #888;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #FFD600;
  color: #6E1FFF;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 4px #FFD60023;
  transition: background 0.17s, color 0.17s, transform 0.13s;
}
.cookie-modal .close-modal:active {
  background: #6E1FFF;
  color: #FFD600;
  transform: scale(0.97);
}

@media (max-width:490px){
  .cookie-consent-banner {padding: 16px 4vw 12px 5vw;}
  .cookie-modal {padding: 20px 7vw 13px 7vw;}
}

/* === Utility: Hide/show classes === */
.hide { display: none !important; }
.show { display: block !important; }

/* ======== PLAYFUL / DYNAMIC VISUAL DETAILS ======== */
.cta-btn.primary, .cookie-consent-banner button, .mobile-menu-toggle, .mobile-menu-close {
  box-shadow: 0 3px 16px #6E1FFF14, 0 1px 4px #FFD60033;
}
.card, .features-grid > div, .testimonial-card, .property-card, .team-member, .blog-item {
  border-bottom: 6px solid #FFD600AA;
}
.features-grid > div, .stepper li, .news-item, .team-member {
  position: relative;
  overflow: visible;
}
.features-grid > div:after, .stepper li:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -12px; left: 40px;
  width: 50px; height: 10px;
  border-radius: 15px 7px;
  background: #6E1FFF33;
  z-index: 1;
  pointer-events:none;
}

/* Animated playful doodle accent for fun style */
.card:before, .features-grid > div:before, .testimonial-card:before, .property-card:before, .team-member:before, .blog-item:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px; left: 18px;
  width: 40px; height: 14px;
  border-radius: 70% 30% 60% 40%/30% 60% 40% 50%;
  background: #FFD60066;
  opacity: 0.66;
  pointer-events: none;
  animation: doodlewobble 2.3s infinite alternate cubic-bezier(.6,.5,.4,1.2);
  z-index: 2;
}
@keyframes doodlewobble {
  0%   { transform: scaleX(1) scaleY(1) translateY(0); }
  35%  { transform: scaleX(1.09) scaleY(1.08) translateY(1px); }
  60%  { transform: scaleX(0.95) scaleY(1.12) translateY(2px); }
  100% { transform: scaleX(1.13) scaleY(0.98) translateY(-1.5px); }
}


/* ===== VISUAL ENHANCEMENTS ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #F8F5FF;
}
::-webkit-scrollbar-thumb {
  background: #FFD60099;
  border-radius: 22px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6E1FFF99;
}

/* ===== ACCESSIBILITY: TEXT CONTRAST FIX FOR TESTIMONIALS ===== */
.testimonial-card {
  background: #FFF !important;
  color: #212B36 !important;
}
.testimonial-card blockquote {
  color: #212B36 !important;
}

/* ===== SPECIAL COLOR UTILITIES FOR BRAND ===== */
.bg-primary   { background: #212B36; color: #FFD600; }
.bg-accent    { background: #FFD600; color: #212B36; }
.bg-secondary { background: #6E1FFF; color: #FFD600; }


/* === Ensure no overlap and proper margins between cards/sections === */
.card, .property-card, .team-member, .blog-item, .testimonial-card, .features-grid > div { margin-right: 0; margin-bottom: 20px; }
.features-grid, .property-cards, .team-grid, .blog-list { gap: 20px; }
.section, .content-wrapper, .card-container, .content-grid, .text-image-section { margin-bottom: 0; }

/* ===== PAGE TRANSITIONS (fade on pageload) ===== */
body {
  opacity: 0;
  transition: opacity 0.4s;
}
body.show {
  opacity: 1;
}

/* ======== END OF CSS ======= */
