/* 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 { scroll-behavior: smooth; }
body { line-height: 1.5; background: #F7F7F9; color: #212B36; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: 100%; border: none; background: none; outline: none; }

/* FONT FACE */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

:root {
  --color-primary: #18547A;
  --color-secondary: #F7F7F9;
  --color-accent: #43A047;
  --color-background: #F7F7F9;
  --color-white: #fff;
  --color-dark-text: #222B36;
  --color-light-text: #F7F7F9;
  --color-vibrant1: #1F94FF;
  --color-vibrant2: #F14A60;
  --color-vibrant3: #FFC400;
  --color-vibrant4: #FF7B00;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition: 0.23s cubic-bezier(.77,0,.175,1);
  --radius: 16px;
  --shadow: 0 4px 24px rgba(24,84,122,0.14);
  --section-padding: 40px 20px;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-dark-text);
  font-size: 16px;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.13;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

p, ul, ol, address {
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-dark-text);
}
strong { font-weight: 700; }

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* HEADER */
header {
  background: var(--color-white);
  box-shadow: 0 2px 18px 0 rgba(24,84,122,0.09);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}
header img { height: 44px; margin-right: 24px; }

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}
.main-nav a {
  color: var(--color-primary);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-vibrant2);
  color: var(--color-light-text);
}

.cta.primary {
  background: linear-gradient(90deg, #43A047 50%, #1F94FF 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 22px;
  padding: 10px 32px;
  margin-left: 18px;
  box-shadow: 0 4px 16px 0 rgba(24,84,122,0.16);
  letter-spacing: 0.03em;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #1F94FF 40%, #F14A60 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(67,160,71,0.16);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  background: var(--color-vibrant2);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 1201;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: var(--color-vibrant1);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,84,122, 0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 28px;
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.38s var(--transition);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-vibrant3);
  border: none;
  color: #2a3038;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover {
  background: var(--color-vibrant2);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  padding: 10px 0;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-vibrant2);
  color: #fff200;
}

/* --- Responsive Header --- */
@media (max-width: 990px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .cta.primary { margin-left: 0; }
}
@media (max-width: 480px) {
  header img { height: 34px; }
  header .container { padding: 12px 10px; }
}

/* === HERO === */
.hero {
  background: linear-gradient(93deg, #43A047 6%, #1F94FF 87%);
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 32px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 8px 40px -10px #1F94FF33;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.hero .content-wrapper {
  color: #fff;
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero h2 { color: #fff; }
.hero p { color: #F7F7F9; font-size: 1.2rem; font-weight: 500; }
.hero .cta.primary { margin-top: 18px; }

@media (max-width: 768px) {
  .hero { min-height: 220px; padding-top: 20px; border-radius: 0 0 30px 30px; }
  .hero .container { min-height: 150px; }
}

/* === SECTION LAYOUTS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
section:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  section {
    padding: 25px 8px;
    margin-bottom: 34px;
  }
}

/* --- Features grid pattern --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 16px;
}
.features-grid > div {
  background: var(--color-secondary);
  padding: 28px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(31,148,255,0.08);
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.19s, transform 0.18s, background 0.23s;
  position: relative;
}
.features-grid > div:hover {
  box-shadow: 0 4px 38px rgba(67,160,71,0.18);
  background: #fffbe8;
  transform: translateY(-6px) scale(1.02);
}
.features-grid img {
  height: 38px;
  margin-bottom: 5px;
  filter: brightness(1.1) saturate(1.3);
}
.features-grid h3 {
  color: var(--color-vibrant1);
  font-size: 1.23rem;
  font-family: var(--font-display);
  font-weight: 800;
}
@media (max-width: 1020px) {
  .features-grid { gap: 16px; }
  .features-grid > div { min-width: 160px; max-width: 100%; }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    min-width: 0; width: 100%;
    box-shadow: 0 2px 10px rgba(67,160,71,0.08);
  }
}

/* --- Spacing Patterns (from mission) --- */
.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; }

/* --- lists --- */
ul, ol {
  margin-bottom: 18px;
  padding-left: 22px;
  list-style-type: disc;
  color: var(--color-dark-text);
}
ul li, ol li {
  border-left: 4px solid var(--color-accent);
  padding-left: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #fff;
  color: #222B36;
  box-shadow: 0 2px 24px 0 rgba(31,148,255,0.09);
  border-radius: 16px;
  padding: 20px 30px;
  margin: 0 0 28px 0;
  gap: 22px;
  align-items: flex-start;
  transition: box-shadow 0.17s, background 0.19s;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 800;
}
.testimonial-card:hover {
  background: #F7F7F9;
  box-shadow: 0 6px 32px #1F94FF22;
  transform: translateY(-3px) scale(1.02);
}
.testimonial-card span {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #2e3c47;
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 15px 12px;
    font-size: 0.98rem;
  }
}

/* --- CTA BUTTONS (REUSE) --- */
.cta {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 10px 28px;
  margin-top: 10px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(90deg, #18547A 20%, #1F94FF 90%);
  color: #fff;
  letter-spacing: 0.018em;
  box-shadow: 0 6px 18px rgba(24,84,122,0.13);
  font-size: 1.12rem;
  transition: background 0.18s, box-shadow 0.2s, color 0.13s;
}
.cta.secondary {
  background: var(--color-accent);
  color: #fff;
}
.cta:hover,
.cta:focus {
  background: linear-gradient(95deg, #1F94FF 7%, #F14A60 95%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(241,74,96, 0.16);
}

/* --- Footer --- */
footer {
  background: #18547A;
  color: #fff;
  padding: 46px 0 24px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff; font-weight: 600; text-decoration: underline; font-size: 1rem; transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #FF7B00; }
address { font-style: normal; color: #d0e6f6; margin-top: 12px; font-size: 0.97rem; line-height: 1.7; }

@media (max-width: 920px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 480px) {
  footer { padding: 32px 0 16px 0; }
}

/* --- General Cards / Content Blocks --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 20px 18px;
  min-width: 180px; max-width: 330px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 32px #F14A6014;
  transform: translateY(-5px) scale(1.018);
}

/* --- Custom Content Grids/Pairs --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 18px; }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.text-image-section > * {
  flex: 1 1 250px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #e3fbe6;
  border-radius: 14px;
  padding: 18px 16px;
  transition: background 0.17s;
}
.feature-item:hover {
  background: #fffbe8;
}

/* --- FORM ELEMENTS (Contact page, for reusability) --- */
input, textarea {
  padding: 10px 15px;
  border-radius: 9px;
  border: 1.4px solid #c1dafb;
  font-size: 1rem;
  background: #fff;
  color: #1A2028;
  width: 100%;
  margin-bottom: 17px;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-shadow: none;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #1F94FF;
  box-shadow: 0 0 3px #1F94FF;
}
label { display:block; font-size: 0.99rem; font-weight: 700; margin-bottom: 4px; }

/* --- Cookie Banner & Modal --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #1F94FF;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 22px 12px;
  z-index: 1300;
  box-shadow: 0 -2px 36px #18547A2c;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: banner-slide-up 0.5s;
}
@keyframes banner-slide-up {
  from { transform: translateY(130px); opacity: 0; } to { transform:translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0 20px 0 0;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-banner button {
  padding: 8px 20px;
  margin-left: 8px;
  border: none;
  border-radius: 17px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: #FFC400;
  color: #1F94FF;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 10px #FFFBE8bb;
}
.cookie-banner button.cookie-reject {
  background: #F14A60;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #1F94FF;
  border: 2px solid #1F94FF;
}
.cookie-banner button:hover {
  filter: brightness(1.1);
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 15px; padding: 17px 5px; font-size: 0.97rem; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,84,122, 0.36);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal {
  width: 96vw;
  max-width: 420px;
  margin-bottom: 38px;
  background: #fff;
  color: #18547A;
  padding: 30px 20px 22px 24px;
  border-radius: 22px;
  box-shadow: 0 12px 48px #18547A44;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-slide-in 0.37s cubic-bezier(.77,0,.175,1);
}
@keyframes modal-slide-in {
  from { transform: translateY(200px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.23rem;
  margin-bottom: 9px;
  color: #1F94FF;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: #F14A60;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .modal-close:hover { background: #FFC400; color: #1F94FF; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: #228f31;
}
.cookie-modal .cookie-category label {
  color: #18547A;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .cookie-essential[disabled] {
  accent-color: #18547A;
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 17px;
  font-family: var(--font-display);
  border-radius: 16px;
  border: none;
  background: #43A047;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-actions .cookie-modal-reject {
  background: #F14A60;
}
.cookie-modal-actions .cookie-modal-settings {
  background: #FFC400;
  color: #1F94FF;
}
.cookie-modal-actions button:hover { filter: brightness(1.08); }

/* ------ Responsive: All Flows ------ */
@media (max-width: 700px) {
  .section, section, .content-wrapper, .features-grid, .footer-logo, .feature-item, .testimonial-card, .card {
    border-radius: 10px !important;
  }
}

@media (max-width: 700px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .content-wrapper { gap: 15px; }
}

/* --- Vibrant Energetic Details --- */
section {
  border: 2.5px solid #1F94FF13;
  box-shadow: 0 2px 16px #43A04714;
  background: #fff;
}
h2, h3, .feature-item h3 {
  text-shadow: 1px 2px 0 #FFC40033;
}

.cta.primary, .cta.secondary, .cookie-banner button, .cookie-modal-actions button {
  box-shadow: 0 2px 12px #1F94FF24;
  border: none;
}

.cta.primary::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg) translateY(-1.5px);
}

.cta.primary:active {
  filter: brightness(0.92);
}

/* --- Animations/Microinteractions --- */
.card, .testimonial-card, .features-grid > div {
  transition: box-shadow 0.18s, transform 0.19s, background 0.18s;
}

@media (hover: hover) {
  .card:hover, .testimonial-card:hover, .features-grid > div:hover {
    box-shadow: 0 10px 48px #FF7B0012 !important;
    transform: translateY(-7px) scale(1.024);
  }
}

/* ------ Utility Classes ------ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.gap-20 { gap: 20px; }
.text-center { text-align: center; }

/* --- Hide visually --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Misc: Accessibility Foci --- */
a:focus, button:focus, .cta:focus {
  outline: 2.5px solid #FFC400;
  outline-offset: 2px;
  z-index: 1;
}

/* === PRINT OVERRIDE === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, .container, main { background: #fff !important; box-shadow: none !important; }
}
