/* ==========================================================
   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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F8F9;
  color: #22343D;
  font-family: 'Arial', 'PT Sans', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 0;
}
li {
  margin-bottom: 10px;
  line-height: 1.5;
}
a {
  color: #17415A;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #F9C846;
  outline: none;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
/* ==========================================================
   TYPOGRAPHY
========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Sans', Arial, sans-serif;
  color: #17415A;
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
p {
  font-family: Arial, 'PT Sans', sans-serif;
  color: #22343D;
  margin-bottom: 16px;
  font-size: 1rem;
}
.text-section p,
.text-section ul,
.text-section li {
  color: #22343D;
  font-size: 1rem;
}
/* ==========================================================
   LAYOUT & CONTAINERS
========================================================== */
.container {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(62, 79, 93, 0.04);
  padding: 32px 26px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 20px 9px;
    gap: 14px;
    margin-bottom: 28px;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px rgba(23,65,90,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  min-width: 230px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(23,65,90,0.12);
}
.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: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F6F8F9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(23,65,90,0.10);
  margin-bottom: 20px;
  max-width: 440px;
  color: #22343D; /* Ensures text color is readable */
}
.testimonial-card span {
  color: #6B9AA6;
  font-size: 1rem;
  font-weight: bold;
}
.testimonial-card div {
  color: #F9C846;
  font-size: 1.16rem;
  font-family: inherit;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 9px;
  padding: 18px 18px 12px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(23,65,90,0.04);
}
/* For info boxes */
.info-box {
  background: #F1F4F5;
  border-radius: 10px;
  padding: 22px 18px 18px 18px;
  color: #22343D;
  box-shadow: 0 2px 8px rgba(107,154,166,0.08);
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
}

/* Spacing helpers */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 0;
}

/* ==========================================================
   HEADER & NAVIGATION
========================================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 0 18px 0;
  background: #fff;
  box-shadow: 0 1px 7px rgba(23,65,90,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: #17415A;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 1px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: color 0.2s, background 0.2s;
}
.main-nav a.button-primary {
  background: #17415A;
  color: #fff !important;
  border-radius: 24px;
  padding: 9px 23px;
  font-weight: 700;
  margin-left: 24px;
  box-shadow: 0 2px 5px rgba(23,65,90,0.07);
  transition: background .2s, color .2s;
}
.main-nav a:not(.button-primary):hover,
.main-nav a:not(.button-primary):focus {
  background: #F1F4F5;
  color: #6B9AA6;
}
.main-nav a.button-primary:hover,
.main-nav a.button-primary:focus {
  background: #F9C846;
  color: #17415A !important;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 12px;
  }
  .main-nav a.button-primary {
    margin-left: 12px;
  }
}
@media (max-width: 860px) {
  .main-nav a {
    font-size: 0.97rem;
  }
  .main-nav a.button-primary {
    font-size: 1rem;
    padding: 8px 15px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
}
/* ==================================
   MOBILE MENU (BURGER)
================================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #17415A;
  font-size: 2.3rem;
  padding: 0 10px;
  display: none;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 202;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #6B9AA6;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 94vw;
  max-width: 370px;
  background: #fff;
  box-shadow: -2px 0 20px rgba(23,65,90,0.11);
  transform: translateX(104%);
  transition: transform 0.36s cubic-bezier(.4,1.6,.5,1);
  z-index: 201;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #17415A;
  margin: 18px 12px 0 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F9C846;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 35px 0 0 0;
  background: transparent;
}
.mobile-nav a {
  color: #17415A;
  font-size: 1.03rem;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 7px;
  margin-left: 0;
  transition: background 0.19s, color 0.19s;
  margin: 0 0 2px 0;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F6F8F9;
  color: #6B9AA6;
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
/* ==================================
   GENERIC BUTTON STYLES
================================== */
.button-primary {
  background: #17415A;
  color: #fff;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border: none;
  border-radius: 24px;
  padding: 11px 34px;
  box-shadow: 0 2px 8px rgba(23,65,90,0.08);
  cursor: pointer;
  display: inline-block;
  transition: background .18s, color .18s, box-shadow .18s;
  outline: none;
  text-align:center;
  letter-spacing: 0.04em;
}
.button-primary:hover,
.button-primary:focus {
  background: #F9C846;
  color: #17415A;
  box-shadow: 0 3px 16px rgba(249,200,70,0.11),0 2px 6px rgba(23,65,90,0.13);
}
.button-secondary {
  background: #F6F8F9;
  color: #17415A;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border: 2px solid #17415A;
  border-radius: 24px;
  padding: 11px 28px;
  box-shadow: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 8px;
  transition: background .18s, color .18s, border .18s;
  outline: none;
}
.button-secondary:hover,
.button-secondary:focus {
  background: #6B9AA6;
  border-color: #6B9AA6;
  color: #fff;
}
/* ==================================
   FORMS (not present, for completeness)
================================== */
input, select, textarea {
  font-family: Arial, 'PT Sans', sans-serif;
  border: 1.4px solid #D1E3ED;
  border-radius: 8px;
  padding: 11px 13px;
  background: #F6F8F9;
  color: #17415A;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 20px;
  width: 100%;
  transition: border .14s, background .16s;
}
input:focus, select:focus, textarea:focus {
  border-color: #6B9AA6;
  background: #fff;
}
label {
  display: block;
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 7px;
  color: #22343D;
  font-size: 1rem;
}

/* ==================================
   TABLES
================================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px 0;
  background: #fff;
  border-radius: 11px;
  overflow:hidden;
  box-shadow: 0 2px 8px rgba(107,154,166,0.07);
}
th, td {
  text-align: left;
  padding: 16px 12px;
  font-size: 1rem;
}
th {
  background: #F6F8F9;
  color: #17415A;
  font-weight: 700;
}
tbody tr:nth-child(even) td {
  background: #F1F4F5;
}
tbody tr:hover td {
  background: #FBFDFE;
}

/* ==================================
   FOOTER
================================== */
footer {
  margin-top: 48px;
  padding: 28px 0 19px 0;
  background: #fff;
  box-shadow: 0 -1px 8px rgba(23,65,90,0.04);
  border-top: 1px solid #EAF1F4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}
footer nav a {
  color: #6B9AA6;
  font-size: 1rem;
  padding: 2px 1px;
  border-radius: 3px;
  font-weight: 500;
  transition: background .18s, color .18s;
}
footer nav a:hover, footer nav a:focus {
  background: #F1F4F5;
  color: #17415A;
  text-decoration: underline;
}
footer .text-section {
  color: #7e929c;
  font-size: 0.98rem;
  margin-top: 3px;
}
@media (max-width: 768px) {
  footer nav {
    flex-direction: column;
    gap: 7px;
  }
}

/* ==================================
   SPECIAL COMPONENTS & UTILITIES
================================== */
.text-section {
  margin-top: 10px;
  color: #22343D;
  font-size: 1rem;
}
.text-section a {
  color: #6B9AA6;
  text-decoration: underline;
  padding: 1px 0;
  border-radius: 2px;
  transition: background .12s;
  word-break: break-word;
}
.text-section a:hover, .text-section a:focus {
  color: #17415A;
  background: #EFF5F9;
}

/* Success Section for thank you page */
.content-wrapper[style*="text-align:center"] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==================================
   MISC & REUSABLES
================================== */
::-webkit-input-placeholder { color: #adc0c9; opacity: 1; }
::-moz-placeholder { color: #adc0c9; opacity:1; }
:-ms-input-placeholder { color: #adc0c9; }
::placeholder { color: #adc0c9; opacity:1; }

/* Icons in lists */
ul li img {
  display: inline-block;
  vertical-align: middle;
  height: 22px;
  width: 22px;
  margin-right: 10px;
}

/* Info boxes image fix */
.info-box img {
  height: 18px;
  margin-bottom: 0;
}

/* ==================================
   RESPONSIVE UTILITY CLASSES
================================== */
@media (max-width: 1020px) {
  .container {
    max-width: 100%;
    padding: 0 7px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .content-wrapper, .section {
    padding: 14px 5px;
  }
}

/* ==========================================================
   COOKIE CONSENT BANNER & MODAL
========================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 15px rgba(23,65,90,0.11);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 18px 18px 18px;
  z-index: 6000;
  animation: fadein-slideup 0.35s both;
}
@keyframes fadein-slideup {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-consent-banner p {
  color: #22343D;
  font-size: 1.03rem;
  margin-bottom: 0;
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'PT Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  padding: 10px 23px;
  margin: 0 0 4px 0;
  cursor: pointer;
  outline: none;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cookie-btn.accept {
  background: #17415A;
  color: #fff;
  border: 2px solid #17415A;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F9C846;
  color: #17415A;
  border-color: #F9C846;
}
.cookie-btn.reject, .cookie-btn.reject:focus {
  background: #fff;
  color: #17415A;
  border: 2px solid #17415A;
}
.cookie-btn.reject:hover {
  background: #F6F8F9;
  color: #6B9AA6;
  border-color: #6B9AA6;
}
.cookie-btn.settings {
  background: #F1F4F5;
  color: #17415A;
  border: 2px solid #D1E3ED;
}
.cookie-btn.settings:hover {
  background: #6B9AA6;
  color: #fff;
  border-color: #6B9AA6;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9002;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,65,90,0.11);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 32px rgba(23,65,90,0.13);
  padding: 34px 29px 23px 29px;
  max-width: 430px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  animation: fadein-modal .3s both;
}
@keyframes fadein-modal {
  from {
    opacity: 0;
    transform: translateY(44px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cookie-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.cookie-modal h3 {
  font-size: 1.15rem;
  color: #17415A;
  margin-bottom: 0;
}
.cookie-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #17415A;
  cursor: pointer;
}
.cookie-modal section {
  margin: 0 0 14px 0;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
  padding: 9px 0;
  border-bottom: 1px solid #EFF2F4;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #17415A;
  font-weight: normal;
  margin-bottom: 0;
}
.cookie-toggle {
  width: 43px;
  height: 26px;
  border-radius: 13px;
  background: #EAF1F4;
  position: relative;
  display: inline-block;
  transition: background 0.16s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.20s cubic-bezier(.7,2,.63,.87), background 0.14s;
  box-shadow: 0 1px 5px rgba(23,65,90,0.09);
}
.cookie-toggle input:checked + .slider {
  transform: translateX(17px);
  background: #6B9AA6;
}
.cookie-toggle input:disabled + .slider {
  background: #dbddd9;
  cursor: not-allowed;
}
.cookie-category .cookie-description {
  color: #6B9AA6;
  font-size: 0.95rem;
  margin-top: 2px;
  max-width: 230px;
}

/* Modal bottom buttons */
.cookie-modal .cookie-btns {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 5px 11px 7px;
  }
}

/* Hide cookie banner on print */
@media print {
  .cookie-consent-banner,
  .cookie-modal-overlay {
    display: none !important;
  }
}

/* ==================================
   ANIMATIONS & FOCUS
================================== */
:focus {
  outline: 2px solid #F9C846;
  outline-offset: 2px;
}
.button-primary:focus, .button-secondary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2px #F9C846;
}

/* ==================================
   SCROLLBAR (A BIT CLEANER)
================================== */
body::-webkit-scrollbar {
  width: 10px;
  background: #F6F8F9;
}
body::-webkit-scrollbar-thumb {
  background: #EAF1F4;
  border-radius: 10px;
}

/* ==================================
   PRINT STYLES (BASIC)
================================== */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu {
    display: none !important;
  }
  .content-wrapper, .section {
    box-shadow: none !important;
    background: #fff !important;
    color: #000;
    padding: 0;
  }
}
