/* 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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F8F7F4;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #384168;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.4em;
}
a {
  color: #3a4b77;
  text-decoration: none;
  transition: color 0.2s;
  border-radius: 3px;
}
a:focus-visible {
  outline: 2px solid #A6C5F2;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #5b7fb3;
}

/*---- FONTS ----*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C355B;
  line-height: 1.2;
}
h1 {font-size: 2.25rem; margin-bottom: 18px;}
h2 {font-size: 1.5rem; margin-bottom: 14px;}
h3 {font-size: 1.125rem; margin-bottom: 10px; font-weight: 600;}
h4 {font-size: 1.05rem; font-weight: 500;}
p, .text-section p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #384168;
}
strong {
  font-weight: 600;
  color: #517754;
}

/*---- CONTAINER ----*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*---- SECTIONS ----*/
section {
  width: 100%;
  background: transparent;
}
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
  background: transparent;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 40px !important;
  }
}


/*---- HEADER ----*/
header {
  width: 100%;
  background: linear-gradient(90deg, #e7f2fc 0%, #f5f3fc 100%);
  box-shadow: 0 2px 8px rgba(28, 53, 91, 0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 16px;
  position: relative;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}

/*---- MAIN NAV ----*/
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: #56739C;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.1s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e4eaff;
  color: #355277;
}

/*---- CTA BUTTONS ----*/
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 26px;
  margin-top: 6px;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(124,158,205,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
  outline: none;
}
.cta.primary {
  background: #A6C5F2;
  color: #1C355B;
  margin-left: 14px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #7BA24A;
  color: #fff;
  box-shadow: 0 2px 20px #d4e6ffbb;
}
.cta.secondary {
  background: #fff;
  color: #7BA24A;
  border: 2px solid #7BA24A;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #e9f4e4;
  color: #567d31;
}

/*---- MOBILE NAV ----*/
.mobile-menu-toggle {
  background: #e0e9f8;
  color: #517754;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 14px;
  cursor: pointer;
  box-shadow: 0 0 0 #fff0;
  z-index: 41;
  display: none;
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #7BA24A;
  color: #fff;
}
@media (max-width: 991px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 95vw;
  max-width: 360px;
  height: 100vh;
  background: #F5F9FC;
  box-shadow: -2px 0 16px rgba(0,0,0,0.07);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.3s cubic-bezier(.73,.03,.23,.99);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 20px 10px 0;
  background: none;
  font-size: 2rem;
  color: #7BA24A;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #1C355B;
  background: #ebf8e4;
  border-radius: 6px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 30px 48px 40px;
}
.mobile-nav a {
  color: #265077;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  padding: 13px 8px 13px 4px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  background: none;
  transition: background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3EAF8;
  color: #7BA24A;
}
@media (max-width: 400px) {
  .mobile-menu { width: 100vw; }
  .mobile-nav { padding: 16px 14px 32px 20px; }
}

/*---- HERO ----*/
.hero {
  background: linear-gradient(120deg, #E5F8FF 0%, #FFF6EB 100%);
  padding: 32px 0 38px 0;
  min-height: 310px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 15px;
  max-width: 670px;
}
.hero h1 {
  color: #254063;
  letter-spacing: 0.01em;
}
.hero p {
  color: #38637e;
  opacity: .93;
}
@media (max-width: 710px) {
  .hero {
    min-height: 180px;
    padding: 28px 0 20px 0;
  }
  .hero h1 { font-size: 1.4rem; }
  .hero .content-wrapper { padding-left: 0; }
}

/*---- FLEX LAYOUTS (MANDATORY) ----*/
.card-container, .feature-grid, .district-grid, .guide-previews, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.district-grid, .feature-grid {
  gap: 20px 22px;
}
.card { margin-bottom: 20px; position: relative; }
.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;
}
@media (max-width: 768px) {
  .card-container, .feature-grid, .district-grid, .content-grid, .guide-previews {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}


/*---- CARD/ITEM STYLE ----*/
.feature-grid > div, .district-grid > div, .guide-previews > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(204, 202, 228, .12);
  padding: 26px 20px 18px 20px;
  min-width: 210px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.17s;
  margin-bottom: 0;
}
.district-grid > div:hover, .feature-grid > div:hover, .guide-previews > div:hover {
  box-shadow: 0 4px 27px 0 rgba(124,158,205,0.17);
  transform: translateY(-2px) scale(1.02);
}
.district-grid img, .feature-grid img, .guide-previews img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
}
@media (max-width: 600px) {
  .feature-grid > div, .district-grid > div, .guide-previews > div {
    min-width: 140px;
    padding: 18px 9px 12px 11px;
    font-size: 15px;
  }
}

/*---- PRO/CONS GRIDS ----*/
.pros-cons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.pros-cons-grid > div {
  background: #f2f7fd;
  border-radius: 14px;
  padding: 20px 16px;
  flex: 1 1 210px;
  box-shadow: 0px 1px 10px 0 rgba(180,190,219,0.07);
}
.pros-cons-grid h4 { margin-bottom: 7px; color: #295469; }
@media (max-width: 700px) {
  .pros-cons-grid {
    flex-direction: column;
    gap: 10px;
  }
}

/*---- TIMELINE, TIPS, SOLUTIONS etc. ----*/
.timeline, .tips, .solutions, .contact-advice, .living-quality, .map-embed {
  background: #F7F9FC;
  border-radius: 13px;
  box-shadow: 0 1px 10px 0 rgba(185,210,255,0.07);
  padding: 20px 16px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.tips ul, .solutions ul, .timeline ul {margin-top: 3px;}

/*---- TESTIMONIALS ----*/
.testimonials {
  background: linear-gradient(110deg, #e8f5ea 0%, #f8f9fa 100%);
  padding: 45px 0 45px 0;
}
.testimonials .container { align-items: center; }
.testimonials .content-wrapper { gap: 30px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 15px;
  padding: 20px 34px 20px 26px;
  margin-bottom: 22px;
  box-shadow: 0 3px 22px rgba(142, 171, 209, 0.08), 0 1.5px 8px #b2dfb2ba;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-details {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6e7fa0;
  font-size: 0.97em;
  margin-top: -7px;
}
.testimonial-details strong {
  color: #1B3C62;
  font-size: 1em;
}
.testimonial-details img {
  width: 19px;
  height: 19px;
  margin-left: 1px;
  filter: drop-shadow(0 2px 2px #b2bea82c);
}
@media (max-width:600px) {
  .testimonial-card {
    padding: 14px 14px 17px 10px;
    font-size: 15px;
  }
}

/*---- CONTACT, HOURS ----*/
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1.07em;
  background: #f7fcfa;
  border-radius: 13px;
  padding: 17px 18px 8px 18px;
}
.contact-info img {
  width: 23px;
  height: 23px;
  vertical-align: -5px;
  margin-right: 10px;
}
.hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}


/*---- FOOTER ----*/
footer {
  background: linear-gradient(90deg, #eaf7e2 0%, #e6ecfa 100%);
  padding: 28px 0 18px 0;
  box-shadow: 0 -2px 8px rgba(60,160,150,0.04);
}
.footer-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #59716C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14.5px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background 0.13s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #eaf1e7;
  color: #7BA24A;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.footer-brand img {
  width: 43px;
  height: 43px;
}
.footer-brand span {
  font-size: 13.5px;
  color: #49667a;
}


/*---- COOKIE BANNER ----*/
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: calc(100vw - 16px);
  max-width: 410px;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(124,158,205,0.19), 0 1.5px 6px #c2dfb2ae;
  border-radius: 19px;
  z-index: 2000;
  padding: 22px 24px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(.83,0,.17,1);
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner strong { color: #517754; font-size: 1.1em; }
.cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-btn,
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border-radius: 28px;
  padding: 7px 19px;
  margin: 0;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.12s;
}
.cookie-accept {
  background: #7BA24A;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #517754;
}
.cookie-reject {
  background: #E3EAF8;
  color: #517754;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #bfd1f1;
  color: #254063;
}
.cookie-settings {
  background: #fff4e0;
  color: #7a6410;
  border: 1.5px solid #ffe6b2;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ffe6b2;
  color: #665303;
}
/* Cookie modal overlay/popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(60,78,119,0.13);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal.hide { opacity: 0; pointer-events: none; }
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 34px #afd3f3cc;
  padding: 35px 28px 28px 26px;
  max-width: 370px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  accent-color: #7BA24A;
  width: 20px;
  height: 20px;
}
.cookie-modal-content .category-label {
  font-size: 1.07em;
  color: #567d31;
}
.cookie-category.essential .category-label {
  font-style: italic;
  opacity: 0.77;
  color: #a5acb5;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #7BA24A;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.15s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e6f6e6;
  color: #254063;
}
@media (max-width: 500px) {
  .cookie-banner {
    padding: 13px 6px 13px 10px;
    max-width: 98vw;
  }
  .cookie-modal-content {
    padding: 18px 5px 18px 5px;
    max-width: 99vw;
    font-size: 15px;
  }
}

/*---- GENERAL UI & UTILITIES ----*/
.text-section { margin-bottom: 2px; }
.text-section ul { margin-top: 6px; }
.text-section h3, .text-section h4 { margin-top: 18px; }
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.error-list {
  background: #FFF3F1;
  border-radius: 12px;
  padding: 17px 20px 14px 16px;
  color: #A81313;
  margin-bottom: 14px;
  margin-top: 8px;
}
@media (max-width: 1110px) {
  .container { max-width: 98vw; }
}
@media (max-width: 600px) {
  .footer-brand span { font-size: 12px; }
}

/*---- FORM ELEMENTS ----*/
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid #d2dfec;
  padding: 10px 12px;
  margin-bottom: 14px;
  box-shadow: 0 0.5px 2.5px #b2cdf83b;
  background: #fcfdfe;
  color: #29436A;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #7BA24A;
  background: #f5fff0;
}
label { font-family: 'Montserrat', Arial, sans-serif; font-weight: 600; margin-bottom: 5px; display: block; color: #1C355B; }

/*---- ANIMATIONS [Soft/Dreamy] ----*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero .content-wrapper, .feature-grid > div, .district-grid > div, .testimonial-card, .guide-previews > div, .contact-info {
  animation: fadeInUp 0.77s cubic-bezier(.4,0,.2,1) both;
}
.hero .content-wrapper {animation-delay: .07s;}
.feature-grid>div:nth-child(2) {animation-delay: .1s;}
.feature-grid>div:nth-child(3) {animation-delay: .14s;}

/*---- MICROINTERACTION ----*/
button:hover, button:focus {
  box-shadow: 0 3px 15px rgba(186, 208, 241, 0.13);
}
.card:hover, .guide-previews > div:hover, .feature-grid > div:hover {
  box-shadow: 0 6px 22px #cfd8f31a, 0 1.5px 8px #b2dfb253;
}

/*------------------------
  MEDIA QUERIES
------------------------*/
@media (max-width: 600px) {
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.09rem;}
  h3 {font-size: 1rem; margin-bottom: 6px;}
  body {font-size: 15px;}
}

/*---- RESPONSIVE FLEX CONTAINERS----*/
@media (max-width: 850px) {
  .card-container, .feature-grid, .district-grid, .guide-previews, .content-grid {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .footer-brand {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
    margin-left: 8px;
  }
}

/*---- MISC ----*/
::-webkit-input-placeholder { color: #b5bed7; opacity: 1; }
::-moz-placeholder { color: #b5bed7; opacity: 1; }
:-ms-input-placeholder { color: #b5bed7; opacity: 1; }
::placeholder { color: #b5bed7; opacity: 1; }

::-webkit-scrollbar { width: 7px; background: #edf2f7; }
::-webkit-scrollbar-thumb { background: #d4e9f7; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b7cbe2; }

/*---- UTILS ----*/
.hidden { display: none!important; }

/*---- END ----*/
