/* 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  background: #111a22;
  color: #FAF3DD;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #419D78;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6fffbf;
}

/* TYPOGRAPHY */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.5rem; font-weight: 800; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.35rem; font-weight: 600; margin-bottom: 16px; }
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 500; }
p, ul, ol, li, blockquote, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong { color: #6fffbf; font-weight: 700; }

/* LAYOUT UTILITY */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin-bottom: 32px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #163146;
  box-shadow: 0 2px 8px rgba(28,30,58,0.15);
  z-index: 50;
}
header > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header a img {
  height: 44px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  color: #FAF3DD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-size: 1rem;
  text-decoration: none;
}
nav a:hover {
  background: #111a22;
  color: #6fffbf;
}
nav .btn-primary {
  background: linear-gradient(90deg, #419D78 70%, #41EAD4 120%);
  color: #163146;
  font-weight: 700;
  text-shadow: 0 2px 8px #9effea38;
  padding: 9px 20px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 2px 16px 0 #12CAC4a1;
  margin-left: 16px;
  letter-spacing: 0.06em;
  transition: background 0.21s, color 0.21s, box-shadow 0.21s;
  position: relative;
  z-index: 1;
  text-decoration: none;
}
nav .btn-primary:hover {
  background: linear-gradient(90deg, #41EAD4 90%, #419D78 100%);
  color: #111a22;
  box-shadow: 0 4px 24px 0 #12CAC4ee, 0 0px 0px #419D78;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  padding: 11px 17px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #6fffbf;
  cursor: pointer;
  position: relative;
  z-index: 101;
  transition: color .2s;
}
.mobile-menu-toggle:focus { outline: 2px solid #6fffbf; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 92vw;
  max-width: 340px;
  background: #121c24fa;
  box-shadow: 4px 0 36px 0 #11a95c37;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,.2,.33,1.01);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 38px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #41EAD4;
  cursor: pointer;
  margin-bottom: 22px;
  padding: 6px;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #FAF3DD;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #263a4e48;
  text-decoration: none;
  border-radius: 0;
  transition: color .18s, background .18s;
  min-width: 180px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #41EAD4;
  background: #163146;
}

/* Hide desktop nav for mobile */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show nav on desktop only */
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN BACKGROUND + GRADIENTS */
body {
  background: linear-gradient(135deg, #101c2e 60%, #163146 100%);
}
section {
  background: linear-gradient(110deg, #20374e 90%, #19273a 100%);
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 8px 28px 0 #0e212e38;
}

/* Flex Utility Patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* FEATURE & TIP CARDS */
.feature-grid, .tip-cards, .blog-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div, .tip-cards > div, .blog-card {
  background: #162940;
  border-radius: 13px;
  padding: 28px 22px;
  box-shadow: 0 4px 18px #1f2c3f4d;
  flex: 1 1 270px;
  min-width: 240px;
  max-width: 340px;
  transition: box-shadow .22s, transform .22s, background .22s;
  border: 1.5px solid #1e3c55b5;
  position: relative;
}
.feature-grid > div:hover, .tip-cards > div:hover, .blog-card:hover {
  box-shadow: 0 8px 24px #45fdbb38, 0 0 16px #41EAD4;
  background: #182535;
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img, .tip-cards img {
  height: 40px;
  margin-bottom: 11px;
}

/* BLOG CARD */
.blog-card h3 {
  margin-bottom: 12px;
}
.blog-card {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
}
.blog-card a {
  color: #41EAD4;
  text-decoration: underline;
  font-weight: 600;
  margin-top: auto;
  font-size: 0.97rem;
  padding-top: 6px;
  transition: color .18s;
}
.blog-card a:hover { color: #6fffbf; }

/* TESTIMONIALS */
.testimonial-card {
  background: #FAF3DD;
  color: #222b31;
  border-radius: 13px;
  box-shadow: 0 2px 16px #111a2288;
  gap: 20px;
  margin-bottom: 20px;
  max-width: 650px;
  font-size: 1.05rem;
  flex-direction: row;
  align-items: flex-start;
  border: 2.2px solid #41EAD4;
  position: relative;
  transition: box-shadow .22s, background .22s;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #23415e;
  border-left: 4px solid #41EAD4;
  margin-right: 14px;
  padding-left: 16px;
  font-size: 1.02rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #163146;
  font-weight: bold;
}
.testimonial-card:hover { box-shadow: 0 4px 22px #419D78a5; background: #fdfdfb; }

/* BUTTONS */
.btn-primary, button[type="submit"], .newsletter-form button  {
  background: linear-gradient(90deg, #41EAD4 50%, #419D78 150%);
  color: #112e3c;
  border: none;
  border-radius: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 34px;
  font-size: 1.19rem;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 14px 0 #41EAD4a1;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform .13s;
  text-decoration: none;
  outline: none;
  margin-top: 14px;
  margin-bottom: 10px;
  min-width: 180px;
  display: inline-block;
}
.btn-primary:hover, button[type="submit"]:hover, .newsletter-form button:hover {
  background: linear-gradient(90deg, #419D78 90%, #41EAD4 110%);
  color: #161b22;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 24px #41EAD4a1;
}
.btn-secondary {
  background: none;
  border: 2px solid #41EAD4;
  color: #41EAD4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 100px;
  font-size: 1.09rem;
  padding: 11px 28px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .13s;
  margin-top: 16px;
  margin-bottom: 10px;
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #41EAD4;
  color: #163146;
  border-color: #419D78;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 16px #41EAD479;
}

/* FORMS */
input[type="email"], input[type="text"], textarea {
  background: #183448;
  border: 1.5px solid #41EAD4;
  border-radius: 10px;
  padding: 12px 15px;
  color: #FAF3DD;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="email"]:focus, input[type="text"]:focus, textarea:focus {
  border-color: #6fffbf;
  outline: none;
  box-shadow: 0 2px 18px #41EAD499;
}
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
}
.newsletter-form label {
  margin-right: 6px;
  color: #FAF3DD;
  font-weight: 500;
}
.newsletter-form button {
  min-width: 120px;
  padding: 10px 22px;
}

/* FOOTER */
footer {
  background: #163146;
  color: #FAF3DD;
  padding: 38px 0 15px 0;
  font-size: 1rem;
  position: relative;
  margin-top: 30px;
  box-shadow: 0 -4px 16px #18253516;
}
footer > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer img {
  height: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #6fffbf;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: underline;
  margin-bottom: 4px;
  background: none;
  padding: 0;
  border-radius: 0;
}
footer nav a:hover { color: #FAF3DD; }
.legal-info {
  font-size: 0.93rem;
  opacity: .77;
  margin-top: 12px;
}

/* CONTACT DETAILS */
.contact-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  margin-bottom: 18px;
}
.contact-details img {
  height: 23px;
  vertical-align: middle;
  margin-right: 8px;
}
.contact-details a {
  color: #41EAD4;
  text-decoration: underline;
}

/* MAP EMBED */
.map-embed {
  background: #162940;
  padding: 18px;
  border-radius: 10px;
  color: #FAF3DD;
  margin-top: 14px;
  font-size: 0.97rem;
}

/* LISTS */
ul, ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
}

/* ACCESSIBILITY/FOCUS */
a:focus-visible, button:focus-visible, .btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2.5px solid #41EAD4;
  outline-offset: 2px;
  z-index: 1001;
}

/* SPACING CLARITY */
section:not(:last-child) { margin-bottom: 60px; }
.card-container > * { margin-bottom: 20px; }
.card:not(:last-child) { margin-bottom: 20px; }

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #163146e6;
  color: #FAF3DD;
  padding: 28px 24px 19px 24px;
  box-shadow: 0 -2px 16px #419D7844;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 9999;
  font-size: 1.1rem;
  transition: transform 0.22s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 1rem;
  border: none;
  margin: 0 4px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cookie-banner .accept {
  background: linear-gradient(90deg, #41EAD4 50%, #419D78 130%);
  color: #163146;
  box-shadow: 0 2px 8px #41EAD478;
}
.cookie-banner .accept:hover { background: #419D78; color: #fff; }
.cookie-banner .reject {
  background: #24384c;
  color: #FAF3DD;
}
.cookie-banner .reject:hover { background: #f44336; color: #fff; }
.cookie-banner .settings {
  background: none;
  border: 2px solid #41EAD4;
  color: #41EAD4;
}
.cookie-banner .settings:hover { background: #41EAD4; color: #163146; }

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,26,46,0.97);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: fadeIn .35s;
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal {
  background: linear-gradient(120deg, #20374e 85%, #163146 100%);
  color: #FAF3DD;
  border-radius: 22px;
  max-width: 410px;
  padding: 36px 32px 19px 32px;
  box-shadow: 0 6px 28px #41EAD477;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 18px;
  color: #41EAD4;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #41EAD4;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: #41EAD4;
  border-radius: 8px;
  margin-top: 0;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #FAF3DD;
  font-size: 1rem;
}
.essential label {
  color: #777;
}
/* Modal buttons */
.cookie-modal .modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.cookie-modal .modal-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .save {
  background: linear-gradient(90deg, #41EAD4 40%, #419D78 110%);
  color: #163146;
  box-shadow: 0 2px 12px #41EAD478;
}
.cookie-modal .save:hover {
  background: #419D78;
  color: #FAF3DD;
}
.cookie-modal .close {
  background: #24384c;
  color: #FAF3DD;
}
.cookie-modal .close:hover {
  background: #23415e;
  color: #41EAD4;
}

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
  .feature-grid, .tip-cards, .blog-previews {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
  section {
    padding: 24px 7vw;
    margin-bottom: 40px;
  }
  .content-wrapper {
    margin-bottom: 16px;
  }
  .feature-grid, .tip-cards, .blog-previews {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .blog-card, .feature-grid > div, .tip-cards > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
    padding: 17px 7vw 17px 7vw;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7vw 16px 7vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .map-embed {
    padding: 10px 7vw;
  }
  footer > .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 0 7vw;
  }
}
@media (max-width: 530px) {
  html { font-size: 14px; }
  section, .feature-grid > div, .tip-cards > div, .blog-card, .testimonial-card {
    padding: 13px 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 8px 14px 8px;
    font-size: 0.96rem;
    gap: 12px;
  }
  .cookie-banner-btns { gap: 8px; }
  .cookie-modal { padding: 22px 6vw 11px 6vw; }
}

/* Z-INDEX FOR MOBILE NAV & COOKIE */
.mobile-menu {
   z-index: 9998;
}
header {
  z-index: 9999;
}

/* MICRO-INTERACTIONS FOR BUTTONS */
.btn-primary, .btn-secondary, .mobile-menu-close, .mobile-menu-toggle, .cookie-banner button, .cookie-modal .modal-btns button {
  transition: background .18s, color .16s, box-shadow .18s, transform .15s;
}
.btn-primary:active, .btn-secondary:active, .mobile-menu-close:active, .mobile-menu-toggle:active, .cookie-banner button:active, .cookie-modal .modal-btns button:active {
  transform: scale(.96);
}

/* VISUAL HIERARCHY & SPACING */
section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h2 {
  margin-bottom: 22px;
}
.section:not(:last-child) { margin-bottom: 60px; }
.card:not(:last-child) { margin-bottom: 20px; }

/* HIDE SCROLL ON BODY WHEN MOBILE MENU/MODAL ACTIVE */
body.menu-open, body.cookie-modal-open { overflow: hidden; }

/* CUSTOM FONT LINKS (assume loaded via HTML, fallback family given above) */

/* --- END --- */
