/* --- 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;
  background: #F6F7EB;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F6F7EB;
  color: #183059;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1446A0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F35247;
}

ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #183059;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  color: #1446A0;
  text-shadow: 0 3px 24px #9AD9DB26;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #183059;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.text-section h3 {
  font-size: 1.2rem;
  color: #1446A0;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F6F7EB;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(24,48,89, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(24,48,89,0.12);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 350px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 12px 28px #9AD9DB99;
  transform: translateY(-8px) scale(1.03);
  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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .card {
    padding: 20px 12px;
    min-width: 190px;
    margin-bottom: 16px;
  }
  .footer-contact img {
    width: 38px;
  }
}

/* --- FEATURES & FLEX LISTS --- */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 24px 0 10px 0;
  padding: 0;
}
.features-list li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px #9AD9DB44;
  padding: 24px 20px 18px 20px;
  flex: 1 1 220px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 5px solid #1446A0;
  transition: border-color 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.features-list li:hover {
  border-left: 5px solid #F35247;
  box-shadow: 0 8px 22px #9ad9db66;
}
.features-list img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  display: block;
  filter: drop-shadow(0 2px 8px #9AD9DB88);
}

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

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px 24px;
  margin-bottom: 20px;
  border-radius: 13px;
  box-shadow: 0 2px 16px #18305922;
  background: #fff;
  color: #183059;
  position: relative;
  min-width: 220px;
  max-width: 480px;
  font-size: 1.08rem;
  border-bottom: 5px solid #9AD9DB;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #F35247;
  margin-top: 8px;
  font-weight: 700;
}
.testimonial-card span {
  display: inline-block;
  color: #FFD600;
  font-size: 1.3em;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
}
.testimonial-card p {
  color: #183059;
  font-size: 1.1em;
  font-style: italic;
}
.testimonial-card:hover {
  border-bottom: 5px solid #183059;
  box-shadow: 0 8px 32px #9ad9db44;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 16px 12px 14px 12px;
    max-width: 100%;
    min-width: unset;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: #F35247;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75em 2.1em;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s, transform 0.14s;
  box-shadow: 0 2px 13px #9AD9DB66;
  margin: 10px 0 0 0;
  letter-spacing: 0.025em;
  text-shadow: 0 2px 8px #1830591a;
  outline: none;
  position: relative;
  z-index: 1;
}
.btn.primary {
  background: #183059;
  color: #fff;
}
.btn.primary:hover, .btn.primary:focus {
  background: #1446A0;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 0 5px #9AD9DB55;
}
.btn.secondary {
  background: #F35247;
  color: #fff;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #9AD9DB;
  color: #183059;
  transform: translateY(-2px) scale(1.04);
}
.btn:active {
  filter: brightness(1.05);
}
.btn:disabled {
  background: #d7dbe6;
  color: #9aa2b6;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8em 1.2em;
    text-align: center;
  }
}

/* --- HEADER & MAIN NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 5px 22px #18305913;
  z-index: 10;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 0 13px 0;
  width: 100%;
}
.main-nav img {
  height: 48px;
  transition: filter 0.2s;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 22px;
  list-style: none;
  margin: 0 20px 0 20px;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #183059;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  color: #F35247;
  background: #9AD9DB33;
}
.main-nav .btn.primary {
  margin-left: 16px;
  font-size: 1rem;
  padding: 0.6em 1.4em;
}

@media (max-width: 1000px) {
  .main-nav ul {
    gap: 10px;
  }
  .main-nav .btn.primary {
    margin-left: 10px;
  }
  .main-nav {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .main-nav .btn.primary {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 22px;
  z-index: 120;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: #F35247;
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 10px #9AD9DB55;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.17s, transform 0.17s;
}
.mobile-menu-toggle:active {
  background: #1446A0;
  transform: scale(0.98);
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 100vw;
  background: #1446A0;
  box-shadow: -6px 0 32px #1446A095;
  z-index: 200;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #9AD9DB;
  color: #1446A0;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px #18305944;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover {
  background: #FFD600;
  color: #F35247;
}

.mobile-nav {
  margin-top: 76px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 25px 35px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  color: #fff;
  background: transparent;
  border-radius: 9px;
  padding: 11px 7px 11px 20px;
  transition: background 0.13s, color 0.13s, margin-left 0.2s;
  margin-left: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F35247;
  color: #FFD600;
  margin-left: 12px;
}

@media (max-width: 400px) {
  .mobile-menu {
    width: 100vw;
    min-width: unset;
  }
}

/* --- FOOTER --- */
footer {
  background: #183059;
  color: #fff;
  padding: 36px 0 26px 0;
  margin-top: 90px;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.footer-menu ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu a {
  color: #9AD9DB;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  transition: color 0.14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #FFD600;
}
.footer-contact {
  margin-top: 8px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 8px;
}
.footer-contact p {
  color: #9AD9DB;
  font-size: 1rem;
  margin: 3px 0 0 0;
}
.footer-contact a {
  color: #FFD600;
  font-weight: 600;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #F35247;
}
@media (max-width: 768px) {
  footer {
    padding: 18px 0 12px 0;
    margin-top: 34px;
    font-size: 0.95rem;
  }
  .footer-menu {
    gap: 18px;
    margin-bottom: 10px;
  }
  .footer-menu ul {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* --- FORMS (contact, newsletter, etc.) --- */
input, textarea, select {
  border-radius: 7px;
  border: 1.5px solid #9AD9DB;
  padding: 10px 12px;
  font-size: 1rem;
  margin-bottom: 10px;
  outline: none;
  width: 100%;
  transition: border-color 0.16s;
  background: #fff;
}
input:hover, textarea:hover, select:hover,
input:focus, textarea:focus, select:focus {
  border-color: #183059;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #183059;
  color: #fff;
  padding: 24px 16px 18px 16px;
  box-shadow: 0 -8px 32px #1446a0aa;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.04rem;
  animation: bannerIn 0.42s cubic-bezier(.67,0,.11,1);
}
@keyframes bannerIn {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-banner__msg {
  flex: 1 1 240px;
  max-width: 600px;
  font-size: 1.07em;
  margin-bottom: 8px;
}
.cookie-banner__btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 17px;
  border-radius: 24px;
  border: none;
  margin: 0 4px 0 0;
  cursor: pointer;
  background: #F35247;
  color: #fff;
  margin-bottom: 4px;
  box-shadow: 0 2px 10px #9ad9db55;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
}
.cookie-banner button:hover {
  background: #9AD9DB;
  color: #1446A0;
}
.cookie-banner .cookie-banner__settings {
  background: #FFD600;
  color: #183059;
  font-weight: 600;
}
.cookie-banner .cookie-banner__settings:hover {
  background: #9AD9DB;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 16px 6px 14px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner__btns {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}


/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,48,89, 0.56);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.27s ease;
}
@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #183059;
  padding: 32px 28px 24px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 80px #1446a0cc, 0 2px 12px #9AD9DB44;
  min-width: 320px;
  max-width: 95vw;
  max-height: 93vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.34s cubic-bezier(.77,0,.175,1);
}
@keyframes modalIn {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  color: #183059;
  font-size: 1.23rem;
  margin-bottom: 20px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 22px;
}
.cookie-category {
  background: #F6F7EB;
  border-radius: 11px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-category label {
  flex: 1;
  font-weight: 600;
  color: #1446A0;
}
.cookie-category input[type="checkbox"] {
  accent-color: #F35247;
  width: 21px; height: 21px;
}
.cookie-category .persistent {
  background: #aee9ed;
  color: #1446A0;
  border-radius: 8px;
  font-size: 0.96em;
  padding: 2px 9px;
  margin-left: 12px;
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: #183059;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 0;
  transition: background 0.15s;
}
.cookie-modal-actions button:hover {
  background: #F35247;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #9AD9DB;
  color: #1446A0;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.22rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
  box-shadow: 0 2px 6px #9AD9DB66;
  transition: background 0.15s;
}
.cookie-modal-close:hover {
  background: #FFD600;
  color: #F35247;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 20px 6px 14px 6px;
    min-width: 0;
  }
  .cookie-modal h2 {
    font-size: 1.05rem;
  }
  .cookie-category {
    gap: 10px;
    font-size: 0.99rem;
  }
}

/* --- UTILITY --- */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* --- MICROINTERACTIONS --- */
section .btn.primary:active {
  transform: scale(0.97) translateY(1px);
}
.card:active {
  transform: scale(0.97) translateY(1px);
}
.features-list li:active, .testimonial-card:active {
  transform: scale(0.97);
}

/* --- SCROLLBAR STYLING --- */
body::-webkit-scrollbar {
  width: 8px;
  background: #F6F7EB;
}
body::-webkit-scrollbar-thumb {
  background: #9AD9DB;
  border-radius: 6px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: #9AD9DB #F6F7EB;
}

/* --- MISC --- */
.text-section {
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  margin-bottom: 8px;
  padding-left: 24px;
}
.text-section h3 {
  margin-bottom: 8px;
}

/* --- SPECIAL SPACING FOR MAIN STRUCTURE --- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  main > section {
    margin-bottom: 32px;
    padding: 22px 0;
    gap: 10px;
  }
}

/* Vibrant Energetic Accents */
.features-list li,
.card,
.testimonial-card,
.btn,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-banner button,
.cookie-modal-close,
.cookie-modal-actions button {
  transition: box-shadow 0.2s, color 0.16s, background 0.16s, transform 0.18s;
}

/* --- Z-INDEX LAYERING --- */
header, .main-nav { z-index: 10; position: relative; }
.mobile-menu { z-index: 200; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10001; }

