/* ------------------------
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { line-height: 1.5; font-size: 16px; }
body {
  background: #F6F6F3;
  color: #222831;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #17496A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2AC43;
  outline: 0;
}
ul, ol {
  list-style: none;
}

/* Remove tap highlight on mobile */
body {
  -webkit-tap-highlight-color: transparent;
}

/* ------------------------
       BRAND FONTS
-------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #17496A;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.18rem;
  color: #17496A;
  margin-top: 18px;
  margin-bottom: 8px;
}
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li, div, span, table, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222831;
  font-size: 1rem;
}

b, strong { font-weight: 700; }

/* --------------------------
   GLOBAL CONTAINERS & FLEX
-------------------------- */
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(23,73,106,0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(23,73,106,0.06);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  flex: 1 1 250px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 14px rgba(23,73,106,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 22px;
  margin-top: 20px;
  margin-bottom: 20px;
  background: #F6F6F3;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(23,73,106,0.07);
  border-left: 5px solid #F2AC43;
  min-width: 240px;
  max-width: 460px;
  transition: box-shadow 0.18s, border-color .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(23,73,106,.11);
  border-left: 5px solid #17496A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------
     HEADER & NAVIGATION
----------------------------- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E1E6EB;
  box-shadow: 0 1px 6px 0 rgba(23,73,106,0.04);
  position: relative;
  z-index: 30;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 1090px;
  margin: 0 auto;
  padding: 18px 20px;
}
nav > a {
  padding: 8px 13px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #17496A;
  border-radius: 7px;
  position: relative;
  transition: color .18s, background .18s;
}
nav > a:hover, nav > a:focus {
  background: #F2AC43;
  color: #fff;
}
nav > a.cta-primary {
  background: #17496A;
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  border-radius: 8px;
  padding: 10px 22px;
  margin-left: 18px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(23,73,106,0.08);
  transition: background 0.22s, transform 0.16s;
}
nav > a.cta-primary:hover,
nav > a.cta-primary:focus {
  background: #F2AC43;
  color: #17496A !important;
  transform: translateY(-1px) scale(1.03);
}
nav > a img {
  height: 38px;
  margin-right: 14px;
  vertical-align: middle;
  display: inline-block;
}

/* -------------------------------
        MOBILE MENU (BURGER)
---------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #17496A;
  position: absolute;
  top: 16px;
  right: 22px;
  z-index: 51;
  cursor: pointer;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F2AC43;
  background: #F6F6F3;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(246,246,243, 0.98);
  box-shadow: 0 4px 24px rgba(23,73,106,0.20);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.8, 0, .2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #17496A;
  cursor: pointer;
  z-index: 101;
  padding: 5px 9px;
  border-radius: 8px;
  transition: background 0.16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E1E6EB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 70px;
  align-items: flex-start;
  padding: 30px 35px 20px 30px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0px;
  color: #17496A;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.mobile-nav a.cta-primary {
  background: #17496A;
  color: #fff !important;
  padding: 11px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 6px;
  transition: background 0.22s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F2AC43;
  color: #fff;
}

@media (max-width: 1100px) {
  nav {
    gap: 8px;
    padding: 16px 12px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 4px;
    padding: 10px 6px;
  }
}
@media (max-width: 850px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Ensure header height does not collapse on desktop w/mobile menu closed */
@media (max-width: 850px) {
  header {
    min-height: 58px;
  }
}

/* -------------------------------
        SECTIONS (FLEX)
---------------------------------- */
main section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* Extra spacing on last item in section lists */
section ul li:last-child, section ol li:last-child {
  margin-bottom: 0;
}

/* Unstyled list icons */
section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #222831;
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.45;
  padding-left: 0;
}
section ul li img {
  width: 28px;
  height: 28px;
  margin-right: 0;
}
section ol {
  padding-left: 18px;
  margin-botttom: 10px;
}
section ol li {
  list-style: decimal inside;
  margin-bottom: 14px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
table, th, td {
  border: 1px solid #E1E6EB;
}
th, td {
  padding: 12px 18px;
  color: #17496A;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #F6F6F3;
  font-family: 'Montserrat', sans-serif;
}

/* -------------------------------
         BUTTONS & CTAs
---------------------------------- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  background: #17496A;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  border: none;
  border-radius: 8px;
  font-size: 1.11rem;
  font-weight: 700;
  padding: 12px 32px;
  margin-top: 8px;
  margin-bottom: 5px;
  box-shadow: 0 2px 8px rgba(23,73,106,0.06);
  cursor: pointer;
  transition: background 0.22s, color 0.18s, transform .13s;
  text-align: center;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F2AC43;
  color: #17496A;
  outline: 2px solid #F2AC43;
  transform: translateY(-2px) scale(1.035);
}

/* -------------------------------
   FOOTER LAYOUT & CONTACT INFO
---------------------------------- */
footer {
  background: #F6F6F3;
  border-top: 1px solid #E1E6EB;
  padding: 40px 0 14px 0;
  margin-top: 32px;
  font-size: 0.96rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: #17496A;
  border-radius: 5px;
  padding: 8px 8px 8px 0px;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #F2AC43;
  text-decoration: underline;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  font-size: 1rem;
  align-items: flex-start;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #17496A;
}
.contact-info img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
}
.brand-footer img {
  height: 40px;
  width: 40px;
}
.copyright {
  color: #76818B;
  margin-top: 10px;
  font-size: 0.96rem;
}

/* -----------------------------------
   TESTIMONIALS AND STAR RATINGS
------------------------------------ */
.star-rating {
  font-size: 1.2rem;
  color: #F2AC43;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: -4px;
}
.testimonial-card p {
  color: #17496A;
  font-style: italic;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #17496A;
  margin-bottom: 2px;
}

/* -----------------------------------
   FAQ DESIGN
------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.faq-list h3 {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17496A;
}
.faq-list p {
  color: #222831;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* -----------------------------------
   COOKIES CONSENT BANNER & MODAL
------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #E1E6EB;
  box-shadow: 0 -2px 16px rgba(23,73,106,0.06);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px 26px 18px 20px;
  font-size: 1rem;
  animation: cookies-slide-up .4s cubic-bezier(.8, 0, .2, 1);
}
@keyframes cookies-slide-up {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1;
  font-size: 1rem;
  color: #17496A;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  border: none;
  background: #17496A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.17s, color .18s, box-shadow .19s;
  font-weight: 600;
  margin-right: 0;
}
.cookie-banner button.cookie-settings {
  background: #F6F6F3;
  color: #17496A;
  border: 1px solid #17496A;
}
.cookie-banner button:hover {
  background: #F2AC43;
  color: #17496A;
}
.cookie-banner button.cookie-settings:hover {
  background: #17496A;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,73,106,0.19);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .24s;
}
@keyframes fadein {
  0% { opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  box-shadow: 0 4px 32px rgba(23,73,106,.11);
  border-radius: 14px;
  padding: 38px 28px 28px 28px;
  min-width: 340px;
  max-width: 99vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.5rem;
  background: none; border: none;
  color: #17496A;
  cursor: pointer;
  border-radius: 7px;
  padding: 4px 10px;
}
.cookie-modal-close:hover {
  background: #F6F6F3;
}
.cookie-modal-content h3 {
  font-size: 1.23rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-size: 1rem;
  color: #17496A;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: #F2AC43;
  width: 19px;
  height: 19px;
  border-radius: 5px;
}
.cookie-category input[type=checkbox]:disabled {
  accent-color: #76818B;
  opacity: 0.63;
}
.cookie-modal-content .cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.cookie-modal-content button {
  border: none;
  background: #17496A;
  color: #fff;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.18s;
  font-weight: 600;
}
.cookie-modal-content button.secondary {
  background: #F6F6F3;
  color: #17496A;
  border: 1px solid #17496A;
}
.cookie-modal-content button:hover {
  background: #F2AC43;
  color: #17496A;
}
.cookie-modal-content button.secondary:hover {
  background: #17496A;
  color: #fff;
}

/* Accessibility: Hide banner when closed (should be toggled with JS) */
.cookie-banner.closed, .cookie-modal.closed {
  display: none !important;
}

/* --------------------------------------
    RESPONSIVE DESIGN (MOBILE-FIRST)
--------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 950px) {
  .footer-nav, .contact-info { gap: 14px; flex-wrap: wrap; }
  .footer-nav { font-size: 0.97em; }
  .contact-info { font-size: 0.95em; }
}
@media (max-width: 700px) {
  .section, main section {
    margin-bottom: 38px;
    padding: 22px 4px;
    border-radius: 11px;
  }
  .content-wrapper, .text-section, .footer-nav, .contact-info {
    gap: 11px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .brand-footer img {
    height: 30px; width: 30px;
  }
  .testimonial-card { min-width: 164px; max-width: 95vw; padding: 17px 10px; }
  .card,
  .section, .content-wrapper, .card-container, .content-grid, .text-section, .feature-item {
    padding: 0;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 7px;
  }
}
@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 85vw;
    padding: 18px 6vw 18px 6vw;
  }
}

/* Adjust FAQ font on mobile */
@media (max-width: 540px) {
  .faq-list h3 { font-size: 1.07rem; }
  .faq-list p { font-size: 0.97rem; }
}

/* Flex containers reflow: text-image-section, card-container, etc */
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column !important;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item {
    gap: 11px;
  }
}

/* ------------ UTILITIES ------------- */
.mt-0 { margin-top: 0 !important; } .mt-20 { margin-top: 20px !important; } .mb-0 { margin-bottom: 0 !important; } .mb-20 { margin-bottom: 20px !important; }
.lh-tight { line-height: 1.16; }
.text-center { text-align: center; }

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

/* Nice transitions on interactive elements */
.button, button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .17s, color .17s, box-shadow .17s, transform .12s;
}

/* ------------- SCROLLBAR ------------- */
body::-webkit-scrollbar {
  width: 10px;
  background: #F6F6F3;
}
body::-webkit-scrollbar-thumb {
  background: #E1E6EB;
  border-radius: 9px;
}

/* ------------- FORMS (if any) ------------ */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 7px;
  border: 1px solid #E1E6EB;
  padding: 10px 12px;
  outline: none;
  font-size: 1rem;
  background: #fff;
  transition: border 0.17s, box-shadow .17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #F2AC43;
  box-shadow: 0 2px 10px 0 rgba(242,172,67,0.07);
}

/* ------------- END ------------- */
