/* ==== CSS RESET & BASE ==== */
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 {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5FAFD;
  color: #174763;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #195D8C;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #1CCBBB;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: inherit;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #174763;
  line-height: 1.13;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}
strong, b {
  font-weight: 700;
  color: #0f2936;
}
em, i {
  font-style: italic;
  color: #195D8C;
}

/* === CONTAINER/SECTION LAYOUTS (Spacing rules) === */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 2px 24px rgba(23,71,99,0.06),0 0.5px 2px rgba(23,71,99,0.05);
  position: relative;
  overflow: visible;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 980px) {
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 568px) {
  .section {
    padding: 28px 5px;
    border-radius: 18px;
  }
}

/* === CARDS & FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #E5F3FA;
  border-radius: 20px;
  box-shadow: 0 5px 16px rgba(23,71,99,0.07);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 260px;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1),box-shadow 0.23s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-1deg);
  box-shadow: 0 9px 38px rgba(23,71,99,0.14);
  z-index: 2;
}

.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 23px;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(23,71,99,0.07);
  border-left: 8px solid #174763;
  font-size: 1.12rem;
  color: #212A30;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #174763;
  font-weight: 700;
  margin-bottom: 0;
  quotes: "\201E" "\201C" "\201F" "\201D";
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature {
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 340px;
  background: #E5F3FA;
  color: #174763;
  border-radius: 18px;
  padding: 28px 20px;
  box-shadow: 0 2px 22px rgba(23,71,99,0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.17s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.feature:hover {
  box-shadow: 0 7px 28px rgba(23,71,99,0.13);
  transform: scale(1.025) rotate(-1deg);
}
.feature img {
  width: 40px; height: 40px;
  margin-bottom: 10px;
}

/* == FAQ == */
.faq {
  padding: 18px 0 8px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq h3 {
  font-size: 1.16rem;
  color: #174763;
  margin-bottom: 4px;
}
.faq p {
  font-size: 1rem;
  color: #247499;
  margin-bottom: 6px;
}

/* === CALLOUTS === */
.callout {
  background: #174763;
  color: #fff;
  border-radius: 17px;
  padding: 28px 30px;
  box-shadow: 0 2px 24px rgba(17,70,110,0.16);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  border-left: 8px solid #91B2C7;
  position: relative;
  overflow: hidden;
}
.callout h2, .callout a, .callout strong {
  color: #fff;
}
.callout a.cta-btn {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.callout a.cta-btn:hover, .callout a.cta-btn:focus {
  background: #fff;
  color: #174763;
}
@media (max-width: 540px) {
  .callout {
    padding: 19px 12px;
    border-left-width: 5px;
  }
}

/* === INFO BOX === */
.info-box {
  background: #E5F3FA;
  border-left: 5px solid #174763;
  border-radius: 13px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 7px rgba(23,71,99,0.08);
}
.info-box h3 {
  font-size: 1.14rem;
  color: #174763;
}

/* === TABLES === */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 22px;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px rgba(23,71,99,0.07);
  font-size: 1rem;
  margin-bottom: 0;
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #E5F3FA;
  color: #174763;
}
.comparison-table th {
  background: #174763;
  color: #fff;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 650px) {
  .comparison-table table {
    font-size: 0.98rem;
  }
}

/* === BUTTONS === */
.cta-btn, .cookie-actions button, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 99px;
  background: #174763;
  color: #fff;
  padding: 12px 32px 12px 36px;
  margin: 4px 0 0 0;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.23s cubic-bezier(.4,0,.2,1),box-shadow 0.2s,transform 0.17s;
  box-shadow: 0 1.5px 10px rgba(23,71,99,0.06);
  position: relative;
  outline: none;
  z-index: 0;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus, .cookie-actions button:hover, .cookie-actions button:focus {
  background: #91B2C7;
  color: #174763;
  box-shadow: 0 5px 24px rgba(36,116,153,0.15);
  transform: translateY(-2px) scale(1.02);
}
.cta-btn:active { background: #247499; color: #fff; }

/* Dedicated styling for Accept, Reject, Settings in Cookie banner */
.cookie-actions button {
  padding: 10px 24px;
  margin: 0 12px 0 0;
  font-size: 1rem;
  color: #174763;
  background: #E5F3FA;
  border: 1.5px solid #91B2C7;
  border-radius: 99px;
  transition: background 0.17s,color 0.18s, box-shadow 0.14s;
}
.cookie-actions button:last-child {
  background: #91B2C7;
  color: #fff;
  border: none;
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: #174763;
  color: #fff;
  border-color: #174763;
}

/* === MAIN NAVIGATION (DESKTOP/MOBILE BURGER) === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px rgba(23,71,99,0.12);
  z-index: 1010;
  /* sticky nav option: position: sticky; top: 0; */
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  max-width: 1130px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  color: #174763;
  padding: 8px 16px;
  border-radius: 44px;
  transition: color 0.16s, background 0.19s, box-shadow 0.19s;
}
.main-nav > a:hover, .main-nav > a:focus {
  color: #fff;
  background: #174763;
  box-shadow: 0 3px 12px rgba(23,71,99,0.12);
}
.main-nav img {
  height: 38px;
  margin-right: 11px;
  display: inline-block;
}
.cta-btn.main-nav {
  font-size: 1.17rem;
  padding: 12px 32px;
  background: #91B2C7;
  color: #fff;
  margin-left: 12px;
  box-shadow: 0 2.5px 14px rgba(36,116,153,0.08);
}
.cta-btn.main-nav:hover {
  background: #174763;
  color: #fff;
}

/* Hide mobile menu triggers on desktop */
.mobile-menu-toggle, .mobile-menu, .mobile-menu-close {
  display: none;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .main-nav {
    gap: 9px;
    font-size: 0.98rem;
    padding: 10px 0;
  }
  .main-nav img {
    height: 32px;
    margin-right: 5px;
  }
}
@media (max-width: 725px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    font-size: 2.2rem;
    color: #174763;
    border: none;
    background: none;
    padding: 12px 22px 12px 10px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 2012;
    position: absolute;
    right: 24px;
    top: 16px;
    transition: background 0.19s, color 0.17s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background: #E5F3FA;
    color: #195D8C;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(23, 71, 99, 0.99);
    z-index: 2100;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.63,-0.09,.37,1.13);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    display: inline-block;
    align-self: flex-end;
    margin: 20px 22px 0 0;
    font-size: 2.4rem;
    color: #fff;
    background: none;
    border: none;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s;
  }
  .mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #E5F3FA;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 48px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.25rem;
    background: none;
    padding: 15px 0;
    border-radius: 12px;
    width: 100%;
    text-align: center;
    transition: background 0.15s,color 0.13s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #91B2C7;
    color: #174763;
  }
}

/* === FOOTER === */
footer {
  width: 100%;
  margin-top: 50px;
  background: #174763;
  color: #fff;
  padding: 38px 0 15px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -2px 12px rgba(23,71,99,0.10);
}
.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 17px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-size: 1.09rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 22px;
  transition: background 0.15s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #91B2C7;
  color: #174763;
}
.footer-address {
  text-align: center;
  font-size: 1rem;
  opacity: 0.96;
}
@media (max-width: 650px) {
  .footer-nav { gap: 9px; font-size: 0.93rem; }
  .footer-address { font-size: 0.98rem; }
  footer { padding: 23px 0 10px 0; }
}

/* === COOKIE CONSENT BANNER & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 6000;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(23,71,99,0.16);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 22px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  min-height: 88px;
  justify-content: center;
  animation: cookieBannerSlideIn 0.51s cubic-bezier(.4,0,.2,1);
}
.cookie-consent-banner h2 {
  font-size: 1.18rem;
  color: #174763;
  margin-bottom: 5px;
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #174763;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-left: 32px;
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 21px 8px 19px 8px;
    gap: 14px;
  }
  .cookie-actions {
    margin-left: 0;
    align-self: flex-start;
    gap: 7px;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 7000;
  background: rgba(17, 70, 99, 0.77);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.29s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.cookie-modal {
  background: #fff;
  color: #174763;
  border-radius: 19px;
  box-shadow: 0 7px 34px rgba(36,116,153,0.20);
  max-width: 98vw;
  width: 410px;
  padding: 36px 22px 25px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  animation: modalPopIn 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 11px;
  font-size: 1rem;
}
.cookie-category label {
  flex: 1 1 0%;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 40px; height: 22px;
  background: #E5F3FA;
  border-radius: 11px;
  position: relative;
  outline: none; border: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #91B2C7;
}
.cookie-toggle::after {
  content: "";
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 3px rgba(23,71,99,0.10);
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.17s;
}
.cookie-toggle:checked::after {
  left: 20px;
  background: #174763;
}
.cookie-modal .cookie-actions {
  margin: 17px 0 0 0;
  gap: 12px;
}

/* Give modal a close button */
.cookie-modal-close {
  position: absolute;
  right: 19px; top: 19px;
  font-size: 1.7rem;
  color: #91B2C7;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  line-height: 1;
  padding: 3px 8px;
  transition: background 0.16s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #174763;
  background: #E5F3FA;
}

/* === MAP/EMBED & UTILITY === */
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
  color: #174763;
  font-size: 1.06rem;
}
.map-embed img {
  width: 27px; height: 27px;
}

/* === UTILITY CLASSES === */
.tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #247499;
  font-weight: 500;
  font-size: 1.11rem;
  margin-top: 19px;
}

/* === ARTISTIC/CREATIVE ELEMENTS === */
.section {
  position: relative;
}
.section::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 0;
  top: -70px;
  left: -55px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #E5F3FA;
  opacity: 0.61;
  pointer-events: none;
}
.section:nth-child(even)::before {
  left: auto; right: -45px; background: #91B2C7; opacity: 0.37; top: -40px;
}
@media (max-width:600px) {
  .section::before {
    top:-40px;left:-20px;width:60px;height:60px;
  }
  .section:nth-child(even)::before {
    right: -16px;width:48px;height:48px;
  }
}
.card::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -12px; right: -18px;
  width: 32px; height: 32px;
  background: #91B2C7;
  border-radius: 50%;
  opacity: 0.21;
  pointer-events: none;
  z-index: 1;
}

/* === LIST STYLES === */
ul {
  padding-left: 22px;
  margin-bottom: 10px;
}
ul li,
ol li {
  margin-bottom: 10px;
  color: #174763;
  padding-left: 0.1em;
  position: relative;
  font-size: 1.07rem;
  line-height: 1.65;
}
ul li::before {
  content: "\2022";
  color: #91B2C7;
  font-size: 1.3em;
  position: absolute;
  left: -19px; top: 2px;
}

/* ===== SCROLLBAR CUSTOMIZE ===== */
::-webkit-scrollbar { width: 8px; background: #E5F3FA; }
::-webkit-scrollbar-thumb { background: #91B2C7; border-radius: 10px; }

/* == RESPONSIVE == */
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .features-grid { gap: 13px; }
}
@media (max-width: 780px) {
  .footer-nav { gap: 7px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.11rem; }
  .feature, .card { min-width: unset; padding: 14px 9px; }
}

/* === ACCESSIBILITY: FOCUS STATES === */
a:focus, button:focus, .cta-btn:focus, .mobile-menu-close:focus {
  outline: 2px dashed #195d8c;
  outline-offset: 2px;
}

/* ==== TRANSITIONS & MICRO-INTERACTIONS === */
section, .feature, .cta-btn, .card, .testimonial-card {
  transition: box-shadow 0.21s cubic-bezier(.4,0,.2,1), transform 0.20s cubic-bezier(.4,0,.2,1), background 0.17s;
}

/* === SPECIAL: COOKIE BANNER ON PAGE === */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #E5F3FA;
  border-top: 4px solid #174763;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 16px rgba(23,71,99,0.11);
  padding: 22px 20px;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 8000;
  width: 100vw;
  animation: cookieBannerSlideIn 0.47s cubic-bezier(.4,0,.2,1);
}
.cookie-banner h2 {
  font-size: 1.06rem;
  color: #174763;
  margin-bottom: 5px;
}
.cookie-banner p {
  color: #174763;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* ==== PRINT OVERRIDE ==== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}
