/* 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222C35;
  background: #F7F7F9;
  min-height: 100vh;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
ul, ol { margin-left: 1.5em; margin-bottom: 1em; }
a { color: #20456A; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #7ABF56; outline: none; }

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

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 24px;
  color: #20456A;
  font-weight: 700;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #20456A;
  font-weight: 600;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #20456A;
  font-weight: 600;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #20456A;
}
p, li {
  font-size: 1rem;
  color: #222C35;
  margin-bottom: 1em;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* STRUCTURE & SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(32,69,106,0.06);
}
@media (max-width: 768px) {
  .section { padding: 24px 10px; margin-bottom: 36px; }
}

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

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(32,69,106,0.04);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 280px;
  flex: 1 1 250px;
}
.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: 14px; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7F7F9;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(32,69,106,0.07);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 560px;
}
.testimonial-card p {
  color: #222C35;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #20456A;
}

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

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

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #20456A 80%, #7ABF56 100%);
  color: #fff;
  padding: 60px 0 48px 0;
  margin-bottom: 0;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #7ABF56;
  color: #20456A;
}
.hero .cta-btn:hover { background: #fff; color: #20456A; }

@media (max-width: 768px) {
  .hero { padding: 36px 0 24px 0; }
}

/* HEADER/NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(32,69,106,0.08);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
header img {
  height: 48px;
  width: auto;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #20456A;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
nav a:hover, nav a.active {
  background: #f0f3f8;
  color: #7ABF56;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #20456A;
  color: #fff;
  padding: 12px 26px;
  font-size: 1.08rem;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(32,69,106,0.09);
  font-weight: 600;
  letter-spacing: .03em;
  transition: background .2s, color .2s, box-shadow .2s;
  border: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #7ABF56;
  color: #20456A;
  box-shadow: 0 4px 18px rgba(32,69,106,0.11);
  outline: none;
}

@media (max-width: 1100px) {
  header .container { flex-direction: column; gap: 8px; align-items: flex-start; }
  nav { flex-wrap: wrap; }
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 200;
  background: #20456A;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(32,69,106,0.12);
  transition: background .2s;
}
.mobile-menu-toggle:hover {
  background: #7ABF56;
  color: #20456A;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #20456A;
  color: #fff;
  z-index: 300;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
  box-shadow: 2px 0 24px rgba(32,69,106,0.13);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 400;
  padding: 7px;
  border-radius: 50%;
  transition: background .2s;
}
.mobile-menu-close:hover {
  background: #7ABF56;
  color: #20456A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 92px;
  margin-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 14px 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.18s, background 0.18s;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:active {
  color: #7ABF56;
  background: rgba(255,255,255,0.04);
}
@media (max-width: 950px) {
  nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN BUTTONS */
button, .cta-btn,input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  border: none;
  cursor: pointer;
}
button:active, .cta-btn:active, input[type="submit"]:active {
  transform: translateY(1px) scale(0.97);
}

/* FOOTER */
footer {
  background: #20456A;
  color: #fff;
  padding: 36px 0 10px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 0;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
  opacity: 0.93;
  transition: color .18s, opacity .16s;
}
.footer-nav a:hover { color: #7ABF56; opacity: 1; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #f3f5f9;
  font-size: 0.99rem;
  align-items: flex-start;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 180px;
}
.footer-contact img {
  width: 22px;
  height: 22px;
}
.footer-brand {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #fff;
  opacity: 0.82;
}
@media (max-width: 600px) {
  footer .container { gap: 20px; }
  .footer-contact { flex-direction: column; gap: 12px; }
}

/* FEATURE LISTS (ICONS, etc.) */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.07rem;
}
ul li img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* TEXT SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.text-section p {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CONFIRMATION PAGE */
.confirmation {
  min-height: 300px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ANIMATIONS & TRANSITIONS */
.section, .card, .testimonial-card {
  transition: box-shadow .2s, background .15s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(32,69,106,0.13);
  background: #f5faff;
}

/* WHITE SPACE & GAP */
main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-height: 60vh;
  margin-bottom: 0;
}

/* CATEGORIES / BLOG FILTER */
span {
  color: #20456A;
  font-weight: 500;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
  .container { padding: 0 6px; }
  main { gap: 20px; }
}

/* FORMS (if any) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #222C35;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 4px;
  border: 1px solid #c6d2db;
  background: #fff;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #20456A;
  outline: none;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222C35;
  color: #fff;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 450;
  box-shadow: 0 -3px 18px rgba(32,69,106,0.12);
  animation: slideUpCookie 0.65s cubic-bezier(0.77,0,0.175,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.01rem;
}
.cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  background: #7ABF56;
  color: #20456A;
  border: none;
  border-radius: 5px;
  padding: 10px 22px;
  font-weight: 600;
  transition: background .18s, color .18s;
  margin-bottom: 0;
}
.cookie-btn:hover, .cookie-btn:focus { background: #fff; color: #20456A; }
.cookie-btn.reject { background: #F7F7F9; color: #20456A; }
.cookie-btn.reject:hover { background: #7ABF56; color: #20456A; }
.cookie-btn.settings { background: #20456A; color: #fff; border: 1px solid #7ABF56; }
.cookie-btn.settings:hover { background: #7ABF56; color: #20456A; }

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 500;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,44,53,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 40px rgba(32,69,106,0.18);
  padding: 34px 26px 26px 26px;
  width: 92vw;
  max-width: 410px;
  color: #20456A;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scaleInModal .32s cubic-bezier(0.77,0,0.175,1);
}
@keyframes scaleInModal {
  from { transform: scale(0.84); opacity:0; } to { transform: scale(1); opacity:1; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #20456A;
  cursor: pointer;
  border-radius: 50%;
  padding: 4px 7px;
  transition: background .18s;
}
.cookie-modal-close:hover {
  background: #f0f3f8;
}
.cookie-modal h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.18rem;
  color: #20456A;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e2e5ed;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category-label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #20456A;
}
.cookie-category input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #7ABF56;
}
/* Always enabled style */
.cookie-category.essential .cookie-category-label {
  opacity: 0.69;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #aaa;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 10px 18px;
  border-radius: 5px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  background: #20456A;
  color: #fff;
  transition: background .18s, color .18s;
  font-size: 1.02rem;
}
.cookie-modal-actions button:hover { background: #7ABF56; color: #20456A; }

/* Z-INDEX FOR MODAL/MENU OVERLAPS */
.mobile-menu, .cookie-modal-overlay { z-index: 500 !important; }
.cookie-banner { z-index: 450 !important; }
header { z-index: 90 !important; }

/* ACCESSIBILITY FOCUS */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #7ABF56;
  outline-offset: 1px;
}

/* SHADOWS & CARD-STYLE */
.card, .testimonial-card, .cookie-modal {
  box-shadow: 0 2px 14px rgba(32,69,106,0.08);
}

/* COLORS & BRAND */
.bg-primary { background: #20456A !important; color: #fff !important; }
.bg-secondary { background: #7ABF56 !important; color: #20456A !important; }
.bg-accent { background: #F7F7F9 !important; color: #20456A !important; }
.text-primary { color: #20456A !important; }
.text-secondary { color: #7ABF56 !important; }

/* HIDE DEFAULT ELEMENTS IN MOBILE */
@media (max-width: 950px) {
  nav, header .cta-btn { display: none !important; }
}
@media (max-width: 600px) {
  .testimonial-card { min-width: 0; max-width: 100%; }
  .card { min-width: 100%; }
}

/* VISUALLY HIDDEN (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* END */
