/* Reset & Normalize */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	box-sizing: border-box;
}
body {
	line-height: 1;
	background: var(--bg);
	color: var(--text);
}
ol, ul {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s;
}
img {
	max-width: 100%;
	display: block;
}
*, *:before, *:after {
	box-sizing: inherit;
}
button, input, textarea, select {
	font-family: inherit;
	font-size: inherit;
}
:root {
  --primary: #164B72;
  --secondary: #219EBC;
  --accent: #F1FAEE;
  --darkBlue: #102f47;
  --yellow: #FFD166;
  --pink: #FF6F91;
  --lime: #90f778;
  --orange: #FFB25B;
  --bright: #fff;
  --bg: #F1FAEE;
  --text: #191A1E;
  --gray: #eeeeee;
  --shadow-1: 0 2px 8px rgba(22, 75, 114, .08);
  --shadow-2: 0 4px 16px rgba(33, 158, 188, .10);
  --radius: 16px;
}

/* Typography */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}
h1, .h1 {
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  word-break: break-word;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  line-height: 1.2;
  word-break: break-word;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.25;
  word-break: break-word;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 10px;
  word-break: break-word;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--text);
}
strong {
  font-weight: 700;
  color: var(--primary);
}
small {
  font-size: 0.95rem;
  color: var(--primary);
}

/* Fun font for playful headings */
h1, h2, h3, .cta-btn {
  font-family: 'Montserrat', 'Comic Sans MS', Impact, Arial, sans-serif;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.header-bar, .footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.footer-bar {
  border-top: 2px solid var(--accent);
  margin-top: 36px;
}

/* Sections Spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--bright);
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: visible;
}

/* Card Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .property-card, .news-item, .feature-item, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .17s;
}
.card:hover, .property-card:hover, .news-item:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(33,158,188,.18);
  background: #e0f7fa;
}
.content-grid, .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  color: #222;
  background: #fffefa;
  box-shadow: 0 2px 16px rgba(33,158,188,.09);
  font-style: italic;
  border-left: 6px solid var(--secondary);
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 500;
  margin-top: 8px;
  font-style: normal;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  padding: 22px 16px;
  border-radius: 12px;
  min-width: 220px;
  box-shadow: var(--shadow-1);
}
/* Property List */
.property-list .content-wrapper {
  flex-wrap: wrap;
  gap: 32px;
}
.property-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  margin-bottom: 0;
}
.news-list .content-wrapper, .property-list .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.news-item {
  background: var(--bright);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 28px 22px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

/* Main Navigation */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: var(--primary);
  position: relative;
  font-size: 1.09rem;
  padding: 4px 3px;
  border-radius: 8px;
  transition: background .17s, color .17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--yellow);
  color: var(--pink);
  outline: none;
}

.logo img {
  height: 42px;
  width: auto;
}

/* Call To Action Button */
.cta-btn, .btn, button[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  border: none;
  padding: 13px 28px;
  background: linear-gradient(90deg, var(--secondary) 65%, var(--yellow) 100%);
  color: var(--primary);
  border-radius: 40px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(33,158,188,.13);
  cursor: pointer;
  margin-top: 14px;
  margin-bottom: 10px;
  transition: background .2s, color .2s, box-shadow .2s, transform .17s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.cta-btn:after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: var(--pink);
  opacity: 0;
  z-index: -1;
  transition: opacity .19s;
  border-radius: 40px;
}
.cta-btn:hover, .cta-btn:focus, .btn:hover, .btn:focus, button[type='submit']:hover, button[type='submit']:focus {
  background: linear-gradient(90deg, var(--yellow) 70%, var(--pink) 100%);
  color: var(--primary);
  transform: translateY(-2px) scale(1.035);
  outline: none;
  box-shadow: 0 7px 28px rgba(255,191,105,.17);
}
.cta-btn:active:after {
  opacity: .15;
}

/* Footer Navigation */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-nav a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1.03rem;
  opacity: .92;
  padding: 3px 1px;
  border-radius: 6px;
  transition: background .16s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--lime);
  color: var(--darkBlue);
}

/* Features Section */
.features .content-wrapper ul,
.services .content-wrapper ul,
.values .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features .content-wrapper ul li,
.values .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.09rem;
  background: var(--orange);
  color: var(--primary);
  border-radius: 12px;
  padding: 13px 16px;
  min-width: 250px;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(255,191,105,.10);
  transition: background .16s;
}
.features .content-wrapper ul li img,
.values .content-wrapper ul li img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(33,158,188, 0.06);
  padding: 6px;
  margin-right: 5px;
}
.features .content-wrapper ul li:hover,
.values .content-wrapper ul li:hover {
  background: var(--lime);
  color: var(--darkBlue);
}

/* Services Section */
.services .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.services .content-wrapper ul li {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  flex: 1;
  min-width: 220px;
  padding: 22px 16px 14px 16px;
  margin-bottom: 0;
  position: relative;
  transition: background .14s, box-shadow .17s, transform .16s;
}
.services .content-wrapper ul li:hover {
  background: var(--yellow);
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 24px rgba(33,158,188,.14);
}
.services .service-price {
  font-weight: bold;
  color: var(--secondary);
  margin-top: 10px;
  font-size: 1.04rem;
}

/* Responsive Design: Mobile First */
@media (max-width: 992px) {
  .container {
    max-width: 97vw;
  }
  .main-nav, .footer-nav {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 11px;
    padding-right: 11px;
  }
  .header-bar, .footer-bar {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2.1rem;
    color: var(--primary);
    z-index: 1102;
    cursor: pointer;
    margin-left: auto;
    margin-right: 10px;
    transition: color .16s, background .14s;
  }
  .mobile-menu-toggle:focus {
    outline: 2px solid var(--secondary);
    border-radius: 8px;
    background: var(--accent);
  }
  .cta-btn {
    width: 100%;
    text-align: center;
    font-size: 1.09rem;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
  /* Stack all sections */
  .content-wrapper, .card-container, .content-grid, .features .content-wrapper ul, .services .content-wrapper ul, .values .content-wrapper ul, .news-list .content-wrapper, .property-list .content-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card, .feature-item, .property-card, .news-item, .card {
    min-width: 0;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none!important;
  }
  .main-nav {
    display: flex;
  }
}

/* Mobile Burger Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 75, 114, 0.96);
  z-index: 1101;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100vw);
  transition: transform .33s cubic-bezier(0.55,0,0.1,1);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0vw);
  animation: menu-slide-in .4s cubic-bezier(.32,.72,.45,1) 1;
}
@keyframes menu-slide-in {
  from { transform: translateX(100vw); }
  to { transform: translateX(0); }
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--yellow);
  padding: 20px 29px 0 0;
  cursor: pointer;
  transition: color .15s;
  z-index: 1103;
}
.mobile-menu-close:focus {
  color: var(--lime);
  outline: 2px solid var(--secondary);
  border-radius: 8px;
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 38px 0 0 28px;
  width: 80vw;
  max-width: 410px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.25rem;
  padding: 10px 0 8px 5px;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background .17s, color .17s;
  font-weight: bold;
  letter-spacing: .02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--yellow);
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--accent) 100%);
  margin-bottom: 60px;
  padding: 60px 0 48px 0;
  border-radius: 0 0 80px 0;
  position: relative;
  overflow: visible;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero h1, .hero .h1 {
  color: var(--darkBlue);
  font-size: 2.6rem;
  line-height: 1.09;
}
.hero p {
  font-size: 1.18rem;
  color: var(--darkBlue);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  z-index: 1400;
  box-shadow: 0 -3px 24px rgba(22,75,114,.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 15px 16px 15px;
  font-size: 1.07rem;
  opacity: 1;
  transition: bottom .29s, opacity .24s;
  border-radius: 28px 28px 0 0;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.055rem;
  font-weight: 700;
  padding: 9px 16px;
  margin-right: 10px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: background .17s, color .17s, transform .15s;
  margin-bottom: 0;
  margin-top: 0;
  background: var(--yellow);
  color: var(--primary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--pink);
  color: #fff;
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner .cookie-settings {
  background: var(--lime);
  color: var(--primary);
  font-weight: 700;
}
.cookie-banner .cookie-settings:hover {
  background: var(--secondary);
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.34);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: modal-fade-in .3s;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 12px 40px 0 rgba(22,75,114,.19);
  max-width: 400px;
  width: 95vw;
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-dialog h2 {
  color: var(--primary);
  font-size: 1.3rem;
}
.cookie-modal-dialog label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.cookie-modal-dialog .cookie-switch {
  margin-left: auto;
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-modal-dialog .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-dialog .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray);
  border-radius: 12px;
  transition: background .14s;
}
.cookie-modal-dialog .cookie-switch input:checked + .slider {
  background: var(--lime);
}
.cookie-modal-dialog .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--secondary);
  border-radius: 50%;
  transition: .3s;
}
.cookie-modal-dialog .cookie-switch input:checked + .slider:before {
  transform: translateX(16px);
}
.cookie-modal-dialog .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 26px;
  top: 20px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

/* Miscellaneous */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 18px;
  padding-left: 0;
}
dt {
  font-weight: bold;
}

dd {
  margin-bottom: 12px;
}

/* Confirmation / Thank you Page */
.confirmation .text-section {
  background: var(--lime);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 1px 8px rgba(144,247,120,.13);
  margin-bottom: 0;
  text-align: center;
}

/* Legal Pages */
.legal .text-section {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow-1);
  margin-bottom: 0;
}
.legal ul {
  margin-left: 32px;
}

/* Animations: playful micro-interactions */
.card, .property-card, .news-item, .testimonial-card, .feature-item, .services .content-wrapper ul li {
  transition: box-shadow .2s, transform .17s, background .14s;
}
.cta-btn {
  transition: background .18s, color .18s, transform .14s, box-shadow .18s;
}
.cta-btn:active {
  transform: scale(0.96);
}
.main-nav a, .footer-nav a, .mobile-nav a {
  transition: background .16s, color .16s;
}

/* Fun animated underline for playful look */
.main-nav a, .footer-nav a, .mobile-nav a {
  position: relative;
}
.main-nav a::after, .footer-nav a::after, .mobile-nav a::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  transition: width .2s cubic-bezier(.88,.12,.46,1);
}
.main-nav a:hover::after, .footer-nav a:hover::after, .mobile-nav a:hover::after,
.main-nav a:focus::after, .footer-nav a:focus::after, .mobile-nav a:focus::after {
  width: 100%;
}

/* Inputs (for potential future forms) */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: var(--accent);
  transition: border-color .13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

/* Hide outline for mouse users, show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Z-index for header / overlay/elements */
header { z-index: 1010; position: relative; }
footer { z-index: 1000; position: relative; }

/* Decoration: playful circles/accents (optional) */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: -18px; top: -18px;
  width: 40px; height: 40px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.11;
  z-index: 0;
  animation: floatUp 8s linear infinite;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  right: -26px; bottom: -22px;
  width: 55px; height: 55px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.09;
  z-index: 0;
  animation: floatDown 10s linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}
@keyframes floatDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(11px); }
  100% { transform: translateY(0); }
}

/* Utility/Spacing Classes */
.mt-4 { margin-top: 32px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* Print: Hide navigation & buttons */
@media print {
  header, footer, .main-nav, .footer-nav, .cta-btn, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
}
