/* =========================
   CSS 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, 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; height:100%; }
*, *:before, *:after { box-sizing: inherit; }
main, nav, header, footer, section, article, aside, figure {display:block;}
body {
  min-height:100vh;
  background-color:#F7F7F7;
  color:#234059;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size:16px;
  line-height:1.7;
  overscroll-behavior: none;
  position:relative;
}
img { max-width: 100%; height: auto; display:inline-block; }
a { color: #234059; text-decoration: none; transition: color .2s; }
a:focus { outline: 2px dashed #234059; outline-offset:3px; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234059;
  font-weight: bold;
}
h1 { font-size:2.5rem; line-height:1.1; margin-bottom:16px; letter-spacing:-1.5px; }
h2 { font-size:2rem; margin-bottom:14px; letter-spacing:-1px;}
h3 { font-size:1.3rem; margin-bottom:10px; letter-spacing:-.5px;}
strong { font-weight:bold; }
p { margin-bottom:16px; }

/* =========================
   BRAND COLORS & FONTS
   ========================= */
:root {
  --primary: #234059;
  --secondary: #F2C94C;
  --accent: #F7F7F7;
  --action: #eb4335; /* vibrant accent, electric red for vibrancy */
  --electric-blue: #2D9CDB;
  --electric-violet: #7f38ec;
  --electric-green: #27ae60;
  --black: #181818;
  --white: #fff;
}

/* =========================
   LAYOUT CONTAINERS
   ========================= */
.container {
  width:100%;
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
  padding-left:20px;
  padding-right:20px;
  box-sizing: border-box;
  display:flex;
  flex-direction:column;
  gap:0;
}
.content-wrapper {
  width:100%;
  display:flex;
  flex-direction:column;
  gap:24px;
}
.section {
  margin-bottom:60px;
  padding:40px 20px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 6px 40px rgba(34,64,89, 0.09);
  display:flex;
  flex-direction:column;
  gap:30px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width:100%;
  box-shadow:0 2px 12px rgba(34,64,89,.05);
  background: var(--white);
  position:relative;
  z-index:30;
  transition:box-shadow .2s;
}
header .container {
  flex-direction:row;
  align-items: center;
  justify-content: space-between;
  gap:32px;
  min-height:74px;
}
header a img { height:38px; }
nav {
  display:flex;
  flex-direction:row;
  gap:20px;
  align-items:center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:600;
  font-size: 1rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  color: var(--primary);
  transition: color 0.2s, border 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--electric-blue);
  border-bottom:2px solid var(--electric-blue);
}
.btn {
  padding:10px 26px;
  font-family:'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight:700;
  border-radius: 24px;
  border:none;
  cursor:pointer;
  transition: box-shadow .18s, background .22s, color .22s, transform .2s;
  outline: none;
  display: inline-block;
  text-align:center;
  letter-spacing:.5px;
  margin-left:20px;
}
.btn-primary {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--electric-blue) 100%);
  color: var(--primary);
  box-shadow:0 1px 20px 0 rgba(242,201,76,0.16);
  border:2px solid var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--electric-blue) 40%, var(--secondary) 100%);
  color:var(--white);
  border-color:var(--electric-blue);
  transform: translateY(-2px) scale(1.045);
  box-shadow:0 6px 32px 0 rgba(34,64,89,0.16);
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display:none;
  background:none;
  border:none;
  font-size:2.2rem;
  color:var(--electric-blue);
  cursor:pointer;
  margin-left: auto;
  position:relative;
  z-index:98;
  min-width:48px;
  min-height:48px;
  padding:0;
  border-radius: 12px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position:fixed;
  top:0; left:0;
  width:100vw;
  height:100vh;
  background:linear-gradient(120deg, var(--secondary) 0%, var(--electric-blue) 100%);
  box-shadow:0 24px 64px 0 rgba(34,64,89,0.25);
  z-index:99;
  transform: translateX(100vw);
  opacity:0;
  pointer-events:none;
  transition:transform .32s cubic-bezier(.55,.27,.23,1.03), opacity .17s;
}
.mobile-menu.open {
  transform:translateX(0);
  opacity:1;
  pointer-events:auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin:26px 28px 0 0;
  background: none;
  border: none;
  font-size:2rem;
  color:var(--primary);
  cursor:pointer;
  border-radius: 10px;
  padding: 2px 12px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap:28px;
  margin-top:16px;
  width: 100%;
  align-items: flex-start;
  padding-left:36px;
}
.mobile-nav a {
  font-family:'Montserrat', Arial, sans-serif;
  font-size:1.2rem;
  font-weight:700;
  color:var(--primary);
  background: transparent;
  border-radius:11px;
  padding:12px 20px;
  transition: background .16s, color .15s;
  min-width:180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color:var(--white);
  background:var(--electric-blue);
}
/* Hide hamburger and mobile menu by default */
@media (max-width:1024px) {
  header .container nav, header .container .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
/* =========================
   HERO & CTA BANNERS
   ========================= */
.hero {
  background:linear-gradient(94deg, var(--secondary) 27%, var(--electric-blue) 100%);
  padding: 56px 0 32px 0;
  border-radius:0 0 28px 28px;
  margin-bottom: 40px;
}
.hero h1, .hero h2 { color:var(--primary); font-size:2.3rem; }
.hero p { color: var(--primary); font-weight:500; font-size:1.18rem; }
.hero .btn-primary {
  margin-top:12px;
}
.cta-banner {
  background:linear-gradient(86deg, var(--electric-blue) 55%, var(--secondary) 110%);
  color:var(--primary);
  border-radius:22px;
  margin-bottom: 42px;
  box-shadow:0 8px 34px 0 rgba(45,156,219,0.12);
}
.cta-banner h2 { color: var(--primary); margin-bottom:8px; }

/* =========================
   CONTENT GRIDS & FLEX
   ========================= */
.feature-grid, .city-grid, .property-card-grid, .guide-category-grid {
  display: flex;
  flex-wrap:wrap;
  gap: 24px;
}
.feature, .city-tile, .property-card, .guide-category {
  flex: 1 1 195px;
  background: var(--white);
  border-radius:18px;
  box-shadow:0 2px 18px rgba(45,156,219,0.10);
  padding:24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  min-width:195px;
  min-height: 135px;
  transition:box-shadow .16s, transform .16s;
  margin-bottom: 20px; /* as required */
}
.feature:hover, .city-tile:hover, .property-card:hover, .guide-category:hover {
  box-shadow:0 10px 32px 0 rgba(34,64,89,0.15);
  transform:translateY(-4px) scale(1.025);
}
.feature img,
.unique-features img,
.contact-info img,
.footer-contact img {
  height:36px; width:auto; margin-bottom:4px; vertical-align:middle;
}
.unique-features {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  margin-top:10px;
  margin-bottom:12px;
}
.unique-features > div {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1rem;
  background:var(--accent);
  border-radius:13px;
  padding:12px 16px;
  min-width:180px;
  font-weight:600;
  color:var(--primary);
  box-shadow:0 1px 10px rgba(34,64,89,.06);
}
.city-grid, .property-card-grid, .guide-category-grid {
  gap: 24px;
  margin-top:16px;
}
.city-tile h3, .property-card h3, .guide-category h3 {
  color:var(--electric-blue);
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.guide-highlights ul li {
  margin-bottom: 10px;
}
.guide-highlights ul li a {
  color: var(--electric-violet);
  font-weight: bold;
  border-bottom: 2px solid var(--electric-violet);
  transition: color .15s, border .16s;
}
.guide-highlights ul li a:hover{
  color: var(--action);
  border-bottom-color:var(--action);
}
.resource-links {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin:0 0 18px 0;
}
.resource-links li a {
  background:var(--electric-green);
  color:var(--white);
  border-radius:9px;
  padding:8px 18px;
  font-weight:bold;
  box-shadow:0 2px 14px 0 rgba(39,174,96,.07);
  transition:background .17s;
}
.resource-links li a:hover{ background: var(--action);}

/* ========== CARD CONTAINER & FLEX UTILS ========= */
.card-container {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.card { margin-bottom: 20px; position: relative; background: var(--white); border-radius: 14px; box-shadow:0 2px 18px rgba(45,156,219,0.09); }
.card-content { display:flex; flex-direction:column; justify-content:center; gap:14px; }
.content-grid { display:flex; flex-wrap:wrap; gap:20px; justify-content:space-between; }
.text-image-section { display:flex; align-items:center; gap:30px; flex-wrap:wrap; }
.feature-item { display:flex; flex-direction:column; align-items:flex-start; gap:15px; }

@media (max-width:940px) {
  .feature, .city-tile, .property-card, .guide-category, .unique-features>div {
    min-width:180px; flex: 1 1 100%;
  }
  .city-grid, .property-card-grid, .guide-category-grid {
    flex-direction:column;
    gap:20px;  
  }
}
@media (max-width:660px) {
  .feature, .city-tile, .property-card, .guide-category, .unique-features>div {
    min-width:unset;
    padding: 16px 10px 10px 10px;
  }
}

/* ========== Team List & Contact Details ========== */
.team-bio-list{
  display:flex; flex-wrap:wrap; gap:20px; margin-bottom:12px;
}
.team-member{
  background:var(--accent); border-radius:13px; box-shadow:0 2px 10px rgba(34,64,89,.06); padding:14px 16px; flex:1 1 200px;
}
.contact-details{
  display:flex; flex-wrap:wrap; gap:22px; margin-bottom:18px; }
.contact-info{
  display:flex; align-items:center; gap:15px; background: var(--accent); border-radius:12px; padding:12px 16px; color:var(--primary); font-weight:600; font-size:1rem; }
.contact-note{ margin-top: 8px; }

@media (max-width:768px){
  .content-wrapper, .feature-grid, .city-grid, .property-card-grid, .guide-category-grid, .team-bio-list, .contact-details, .unique-features {
    flex-direction: column;
    gap:20px;
  }
  .section { padding:32px 8px; }
  .hero { padding:34px 0 18px 0; }
  .cta-banner { padding: 3px 0 18px 0; }
  .footer-contact { flex-direction:column; gap:12px; align-items:flex-start; }
}

/* =========================
   TESTIMONIALS & SUCCESS
   ========================= */
.testimonial-slider {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.testimonial-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:20px;
  margin-bottom:20px;
  background:var(--accent);
  color:var(--primary);
  border-radius:14px;
  box-shadow:0 2px 18px rgba(34,64,89,.09);
  max-width:350px;
  min-width:240px;
  min-height:160px;
  font-size:1.1rem;
  position:relative;
  margin-right:12px;
  transition: box-shadow 0.13s, transform 0.12s;
}
.testimonial-card strong{
  color:var(--electric-blue);
  font-family: 'Montserrat',Arial,sans-serif;
  font-size:1rem;
}
.testimonial-card p {
  margin-bottom:0;
}
.testimonial-card:hover { box-shadow:0 12px 28px 0 rgba(45,156,219,.16); transform:scale(1.025); }

.case-summary {
  background:var(--white);
  border-left:6px solid var(--electric-blue);
  border-radius:13px;
  box-shadow:0 2px 12px rgba(34,64,89,.07);
  margin-bottom:20px;
  padding:20px 20px 20px 18px;
}
.next-steps {
  background:var(--accent);
  border-radius:10px;
  padding:16px 18px;
  margin:28px 0 0 0;
  box-shadow:0 4px 18px 0 rgba(45,156,219,.09);
}

/* =========================
   FAQ ACCORDION
   ========================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background:var(--accent);
  border-radius:11px;
  padding:16px 18px;
  box-shadow:0 1px 7px 0 rgba(35,64,89,.06);
  margin-bottom:8px;
  font-size:1rem;
}
.faq-item h3 { font-size:1.12rem; color: var(--electric-blue); margin-bottom:8px; }

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 12px 0;
  margin-top:48px;
  box-shadow:0 -8px 26px 0 rgba(34,64,89,0.12);
}
footer .container {
  flex-direction:column;
  gap:26px;
  align-items:flex-start;
}
footer nav {
  display:flex;
  flex-direction:row;
  gap:24px;
  margin-bottom:10px;
}
footer nav a {
  color:var(--secondary);
  font-weight:700;
  font-family:'Montserrat', Arial, sans-serif;
  font-size:1rem;
  border:none;
  padding:0;
  transition:color .14s;
}
footer nav a:hover,footer nav a:focus { color:var(--electric-blue); }
.footer-contact {
  display:flex;
  flex-direction:row;
  gap:20px;
  align-items:center;
  flex-wrap:wrap;
  color:var(--white);
}
.footer-contact address{ font-style:normal; }
.footer-contact span {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:1rem;
}
.footer-branding {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:28px;
  font-size:.97rem;
}
.footer-branding img{
  height:30px; width:auto;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position:fixed;
  left:0;
  bottom:0;
  width:100vw;
  background: var(--primary);
  color:var(--white);
  box-shadow:0 -4px 36px 0 rgba(34,64,89,0.18);
  z-index:9999;
  padding:18px 20px 16px 20px;
  display:flex;
  flex-wrap:wrap;
  flex-direction:row;
  align-items: center;
  justify-content: center;
  gap:24px;
  font-size:1rem;
  transition: transform .34s, opacity .19s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity:0;
  pointer-events:none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .btn {
  margin-left:0;
  margin-right:0;
  font-size:.98rem;
}
.btn-accept {
  background:var(--electric-green);
  color:var(--white);
  border:2px solid var(--electric-green);
}
.btn-accept:hover, .btn-accept:focus {
  background:var(--secondary);
  color:var(--electric-green);
  border-color:var(--secondary);
}
.btn-settings {
  background:var(--electric-violet);
  border:2px solid var(--electric-violet);
  color:var(--white);
}
.btn-settings:hover, .btn-settings:focus {
  background:var(--white);
  color:var(--electric-violet);
}
.btn-reject {
  background:var(--action);
  border:2px solid var(--action);
  color:var(--white);
}
.btn-reject:hover, .btn-reject:focus {
  background:var(--white);
  color:var(--action);
}

/* COOKIE MODAL */
.cookie-modal {
  position:fixed;
  left:50%; top:50%;
  transform:translate(-50%,-60%) scale(0.9);
  background: var(--white);
  color: var(--primary);
  z-index: 10010;
  border-radius: 22px;
  box-shadow: 0 12px 40px 0 rgba(34,64,89,0.24);
  min-width: 320px;
  max-width:96vw;
  min-height: 250px;
  padding:40px 32px 26px 32px;
  display:none;
  flex-direction:column;
  gap:20px;
  opacity:0;
  transition: opacity .22s, transform .28s;
}
.cookie-modal.open {
  display:flex;
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
.cookie-modal h3 { font-size:1.21rem; font-weight:700; }
.cookie-modal .cookie-categories {
  display:flex;
  flex-direction:column;
  gap:13px;
  margin-top:8px;
}
.cookie-category {
  display:flex; align-items:center; justify-content:space-between;
  font-size:1rem;
  padding:10px 0;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
}
.cookie-toggle {
  appearance: none;
  display:inline-block;
  width:46px; height:24px;
  background:var(--accent);
  border-radius:15px;
  position:relative;
  border:2px solid var(--electric-blue);
  transition:background .19s;
  outline:none;
  cursor:pointer;
}
.cookie-toggle:checked {
  background:var(--electric-blue);
  border-color: var(--electric-blue);
}
.cookie-toggle:before {
  content: '';
  position:absolute;
  top:2px;
  left:2px;
  width:20px;height:18px;
  border-radius:12px;
  background:var(--primary);
  transition: left .15s, background .19s;
}
.cookie-toggle:checked:before {
  left:22px;
  background:var(--white);
}

.cookie-modal .cookie-buttons {
  justify-content: flex-end;
}
.cookie-modal .btn {
  margin-left:0;
  margin-right:0;
  font-size:.97rem;
}

.cookie-modal .btn-settings-close {
  margin-top:8px; background:var(--accent); color:var(--primary); border:2px solid var(--electric-blue); border-radius:7px; padding:6px 19px;
}
.cookie-modal .btn-settings-close:hover,.cookie-modal .btn-settings-close:focus {
 background:var(--electric-blue); color:var(--white);}

@media (max-width:700px){
  .cookie-modal { min-width: 0; max-width:98vw; padding:20px 8px 12px 8px; }
}
@media (max-width:650px){
  .cookie-banner { padding:13px 6px 10px 10px; flex-direction:column; align-items:flex-start; gap:10px; }
}

/* =========================
   RESPONSIVE - MOBILE PHONE
   ========================= */
@media (max-width:768px){
  .container { padding-left:10px; padding-right:10px; }
  .content-wrapper { gap:16px; }
  .section { padding:24px 4px; margin-bottom:34px; }
  .footer-branding { margin-top:20px; }
  .hero h1, .hero h2 { font-size:1.48rem; }
  h1 { font-size:1.43rem; }
  h2 { font-size:1.13rem; }
  nav a, .btn, .footer-branding{ font-size: .98rem; }
  .feature-grid, .city-grid, .property-card-grid, .guide-category-grid, .testimonial-slider {
    gap: 14px;
  }
  .testimonial-card, .case-summary {
    min-width:auto;
    max-width:97vw;
  }
  .team-bio-list, .contact-details, .unique-features {
    gap:12px;
  }
  .mobile-nav a{ font-size:1.02rem; min-width:128px; }
}

/* =========================
   SMALL ELEMENTS & UTILS
   ========================= */
::-webkit-scrollbar {
  width:8px;
  background: var(--accent);
  }
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius:8px;
}
::-webkit-scrollbar-thumb:hover { background:var(--electric-blue); }

hr {
  border:none; height:1px; background:var(--accent); margin:22px 0; }

/* Enhance focus for accessibility */
.btn:focus, .btn-primary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .mobile-nav a:focus {
  outline: 2px dotted var(--electric-violet) !important; outline-offset: 2px;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes btn-pop {
  0% { transform: scale(1); }
  60% { transform: scale(1.08); }
  100%{ transform: scale(1); }
}
.btn:hover, .btn:active {
  animation: btn-pop 0.25s both;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.section, .feature, .city-tile, .card, .property-card, .testimonial-card, .cta-banner, .guide-category {
  animation: fade-in-up .6s cubic-bezier(.36,1.01,.3,1) both;
}

/* =========================
   PRINT SAFE (OPTIONAL)
   ========================= */
@media print {
  header, footer, .btn, .mobile-menu, .cookie-banner, .cookie-modal {display:none !important;}
}
