/* === 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, 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F9FBFF;
  font-family: 'Roboto', Arial, sans-serif;
  color: #173B5D;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
}
ul ul, ol ol, ul ol, ol ul {
  margin-left: 18px;
}
a {
  background-color: transparent;
  color: #118eea;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #FFBF3C;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #E53D6D;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #FFBF3C;
}

/* === BRAND COLORS (as CSS vars for fallback) === */
:root {
  --ds-primary: #173B5D;
  --ds-secondary: #8BC6EC;
  --ds-accent: #FFFFFF;
  --ds-electric: #18A0FB;
  --ds-hotpink: #E53D6D;
  --ds-yellow: #FFBF3C;
  --ds-dark-text: #173B5D;
  --ds-card-bg: #FFFFFF;
  --ds-bg-secondary: #F1F6FA;
  --ds-shadow: 0 6px 24px 0 rgba(26, 42, 83, 0.12);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--ds-primary);
  font-weight: 800;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ds-electric);
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--ds-dark-text);
}
strong, b {
  font-weight: 700;
}
.subheadline {
  color: var(--ds-electric);
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

/* === CONTAINER & SPACING === */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--ds-card-bg);
  border-radius: 18px;
  box-shadow: var(--ds-shadow);
  padding: 32px 22px 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 18px 36px rgba(29,11,69,0.14);
  transform: translateY(-3px) scale(1.02);
}

.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;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 22px;
  box-shadow: 0 2px 16px 0 rgba(29,49,96,0.12);
  border-left: 6px solid var(--ds-electric);
  flex-direction: column;
  max-width: 690px;
  color: #173B5D;
}
.testimonial-card blockquote {
  color: var(--ds-hotpink);
  font-size: 1.16rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
  border: none;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #173B5D;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, #8BC6EC 0%, #18A0FB 80%);
  padding: 64px 0 54px 0;
  border-radius: 0 0 48px 48px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1, .hero .subheadline {
  color: #fff;
  text-shadow: 0 3px 16px rgba(23,59,93,0.20);
}
.hero .cta-primary {
  margin-top: 20px;
}

/* === MAIN NAVIGATION === */
header {
  background: var(--ds-accent);
  box-shadow: 0 2px 14px 0 rgba(29,59,93,0.10);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  margin-left: 28px;
  margin-right: 30px;
  height: 68px;
}
.logo img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 12px;
  flex-wrap: wrap;
  flex: 1 1 auto;
}
.main-nav a {
  color: var(--ds-primary);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 7px 10px;
  border-radius: 7px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.main-nav a.cta-primary {
  background: var(--ds-hotpink);
  color: #fff;
  padding: 9px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 16px rgba(229,61,109,0.15);
  transition: background 0.2s, color 0.2s, transform 0.22s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--ds-yellow);
  color: #173B5D;
  transform: scale(1.04);
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--ds-secondary);
  color: var(--ds-electric);
  text-decoration: none;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--ds-hotpink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  padding: 7px 16px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 18px;
  transition: background 0.18s, color 0.18s, transform 0.20s;
  z-index: 201;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--ds-yellow);
  color: var(--ds-primary);
  transform: scale(1.08);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #173B5D;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  z-index: 2999;
  transform: translateX(105vw);
  transition: transform 0.41s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 0 40px rgba(23,59,93,0.28);
  opacity: 0.98;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.46s cubic-bezier(.45,.05,.55,1.04);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 24px 30px 10px 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--ds-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 10px;
  margin-left: 30px;
}
.mobile-nav a {
  width: 100%;
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
  padding: 9px 0;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s, color 0.18s, padding-left 0.24s;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E53D6D;
  color: #fff;
  padding-left: 10px;
}

@media (max-width: 1060px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 950px) {
  .main-nav a {
    font-size: 1rem;
    padding: 7px 8px;
  }
  .logo {
    margin-left: 12px;
    margin-right: 12px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .content-grid {
    gap: 13px;
  }
  .section {
    padding: 32px 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }
  .hero {
    padding: 36px 0 26px 0;
    border-radius: 0 0 20px 20px;
  }
  .footer-brand, .footer-social, .footer-menu {
    justify-content: center !important;
  }
}
/* Spacing for mobile testimonials/cards */
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 5px;
    border-radius: 12px;
    max-width: 100%;
  }
  .section {
    margin-bottom: 36px;
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

/* === FEATURE CARDS AND ICONS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature-grid > div {
  background: var(--ds-card-bg);
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(23,59,93,0.07);
  padding: 26px 20px 18px 20px;
  min-width: 230px;
  max-width: 300px;
  flex: 1 1 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-left: 5px solid var(--ds-electric);
  transition: transform 0.20s, box-shadow 0.22s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(17,160,251,0.12);
  transform: translateY(-3px) scale(1.03);
  border-left: 5px solid var(--ds-hotpink);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--ds-hotpink);
  font-weight: 700;
}
.feature-grid p {
  margin-bottom: 2px;
  color: var(--ds-primary);
}

/* === BUTTONS & CALL TO ACTION === */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--ds-hotpink) 60%, var(--ds-yellow) 120%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.17rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 32px;
  padding: 13px 32px;
  margin-top: 8px;
  box-shadow: 0 2px 18px rgba(23,59,93,0.10);
  text-align: center;
  cursor: pointer;
  transition: background 0.21s, color 0.17s, transform 0.19s, box-shadow 0.19s;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--ds-yellow) 0%, var(--ds-electric) 90%);
  color: #173B5D;
  text-decoration: none;
  box-shadow: 0 7px 28px rgba(229,61,109,0.10);
  transform: scale(1.05);
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  font-size: 1rem;
  border-radius: 9px;
  padding: 8px 18px;
  background: var(--ds-electric);
  color: #fff;
  font-weight: 600;
  transition: background 0.18s, color 0.16s, transform 0.16s;
}
button:hover, button:focus {
  background: var(--ds-hotpink);
  color: #fff;
  transform: scale(1.055);
}

/* === LISTS (Text with images) === */
ul li, ol li {
  margin-bottom: 7px;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* === FOOTER === */
footer {
  background: var(--ds-primary);
  color: #fff;
  padding: 34px 0 16px 0;
  margin-top: 60px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  box-shadow: 0 -2px 30px -8px rgba(17,59,133,0.10);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.footer-menu {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  opacity: 0.82;
  transition: color 0.15s, opacity 0.14s;
}
.footer-menu a:hover {
  color: var(--ds-yellow);
  opacity: 1;
  text-decoration: none;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-brand img {
  width: 39px;
  height: 39px;
  border-radius: 18px;
}
.tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  color: var(--ds-secondary);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.footer-legal {
  text-align: center;
  font-size: 0.97rem;
  opacity: 0.69;
  margin-bottom: 8px;
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 19px;
  justify-content: center;
  margin-top: 8px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: brightness(1.15);
  transition: filter 0.13s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: brightness(1.92) drop-shadow(0 2px 9px #8BC6EC);
}

/* ========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 8000;
  background: linear-gradient(90deg, #8BC6EC 0%, #18A0FB 80%);
  color: #173B5D;
  box-shadow: 0 -3px 28px rgba(17,160,251,0.12);
  padding: 23px 16px 23px 16px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 1.06rem;
  animation: cookie-in 700ms cubic-bezier(.18,.89,.32,1.28);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(45px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .banner-text {
  flex: 1 1 200px;
  color: #173B5D;
  font-weight: 500;
  margin-bottom: 8px;
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--ds-yellow);
  color: var(--ds-primary);
  font-weight: 700;
  border-radius: 18px;
  border: none;
  font-size: 1.01rem;
  padding: 9px 17px;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.18s, color 0.16s, transform 0.16s;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--ds-electric);
  font-weight: 600;
  border: 2px solid var(--ds-electric);
  padding: 8px 16px;
}
.cookie-btn:hover {
  background: var(--ds-hotpink);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: var(--ds-electric);
  color: #fff;
}
/* Mobile banner */
@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    padding: 14px 5px;
    gap: 11px;
    font-size: 1rem;
    align-items: flex-start;
  }
  .cookie-banner .banner-actions{
    gap: 8px;
  }
}

/* ========== COOKIE MODAL =========== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9000;
  width: 100vw;
  height: 100vh;
  background: rgba(23,59,93,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s, visibility 0.2s;
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 22px 24px 22px;
  border-radius: 18px;
  box-shadow: 0 8px 33px 0 rgba(17,160,251,0.19);
  width: 97vw;
  max-width: 420px;
  animation: fade-in-top 0.65s cubic-bezier(.17,.67,.59,1.04);
}
@keyframes fade-in-top {
  from { opacity: 0; transform: translateY(-38px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-content h2 {
  color: var(--ds-hotpink);
  text-align: center;
  font-size: 1.34rem;
  margin-bottom: 12px;
  font-weight: 800;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F1F6FA;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category .label {
  color: var(--ds-primary);
  font-weight: 700;
  font-size: 1.06rem;
}
.cookie-category .desc {
  color: #7297b7;
  font-size: 0.98rem;
  font-weight: 400;
  padding-left: 10px;
}
.cookie-toggle {
  width: 40px;
  height: 20px;
  border-radius: 20px;
  background: #F1F6FA;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
  margin-left: 14px;
  border: 1px solid #D4E4F5;
  display: flex;
  align-items: center;
}
.cookie-toggle[data-checked="true"] {
  background: var(--ds-electric);
  border-color: var(--ds-electric);
}
.cookie-toggle .knob {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  transition: left 0.19s;
  top: 1px;
  box-shadow: 0 1px 4px rgba(23,59,93,0.11);
}
.cookie-toggle[data-checked="true"] .knob {
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.close-cookie-modal {
  position: absolute;
  top: 7px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--ds-hotpink);
  font-size: 1.6rem;
  cursor: pointer;
}

/* === UTILITY & ANIMATION === */
.fade-in {
  animation: fade-in-top 0.75s cubic-bezier(.17,.67,.59,1.04);
}
.shadow-strong {
  box-shadow: 0 9px 28px rgba(17,160,251,0.15);
}
.rounded-lg {
  border-radius: 22px;
}


/* === ADJUSTMENTS FOR INTERACTIVE, SPACING, RESPONSIVENESS === */
@media (max-width: 675px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 95vw;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero .container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 370px) {
  .cta-primary, button.class {
    font-size: 0.97rem !important;
    padding: 8px 10px !important;
  }
}

/* === FOCUS STYLE (ACCESSIBILITY) === */
:focus-visible {
  outline: 2px solid var(--ds-yellow);
  outline-offset: 2px;
  z-index: 10;
}

/* === MISC: HORIZONTAL RULES === */
hr {
  border: 0;
  height: 1px;
  background: var(--ds-secondary);
  margin: 19px 0;
}

/* === GLOBAL CARD-LIKE STYLES FOR SUPPLEMENTARY PAGES === */
.content-wrapper {
  margin-bottom: 22px;
}
.text-section {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 6px 32px 0 rgba(26, 42, 83, 0.07);
  padding: 30px 18px 18px 18px;
}
@media (max-width: 480px) {
  .text-section {
    padding: 12px 5px;
  }
}

/* === COLORS FOR IMPORTANT MESSAGES === */
.alert, .important-text {
  background: #E53D6D11;
  color: #E53D6D;
  border-left: 8px solid #E53D6D;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 1.01rem;
  margin-bottom: 15px;
}

/* Ensures no flexbox overflows on all flex containers */
.card-container, .feature-grid, .content-grid, .text-image-section, .footer-social, .footer-menu, .footer-brand, .cookie-modal-content, .cookie-modal-actions {
  min-width: 0;
}

/* Hide scrollbars for mobile-menu and cookie-modal */
.mobile-menu, .cookie-modal {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* ==== END ==== */
