/* 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.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #1D2536;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1D2536;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, li, span, input, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1D2536;
}
strong {
  font-weight: 600;
  color: #1D2536;
}

/* LINKS */
a {
  color: #527BA1;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1D2536;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.text-section {
  max-width: 700px;
}

/* SECTION SPACING & ALIGNMENT (MANDATORY) */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0;
    margin-bottom: 40px;
  }
}
.section { 
  margin-bottom: 60px; 
  padding: 40px 20px; 
  background: #fff;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(29,37,54,.05);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 270px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}
.card:hover {
  box-shadow: 0 6px 22px rgba(29,37,54,0.07);
  transform: translateY(-2px) scale(1.01);
}

.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 {
  background: #F5F7FA;
  color: #1D2536;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(29,37,54,0.04);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card span {
  font-size: 0.96rem;
  opacity: 0.75;
  margin-left: auto;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px rgba(82,123,161,0.10);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(29,37,54,0.04);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1px 6px rgba(29,37,54,0.07);
  padding: 0 0 0 0;
  position: sticky;
  z-index: 50;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 72px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #1D2536;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F7FA;
  color: #527BA1;
}
.cta-btn {
  background: #527BA1;
  color: #fff !important;
  border-radius: 8px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(82,123,161,0.11);
  transition: background 0.19s, box-shadow 0.19s, color 0.17s;
  display: inline-block;
  margin-left: 24px;
  margin-right: 0;
}
.cta-btn:hover, .cta-btn:focus {
  background: #1D2536;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(29,37,54,0.13);
}

/* Hide hamburger by default on desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 986px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #527BA1;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    margin-right: 8px;
    cursor: pointer;
    z-index: 120;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(29,37,54,0.93);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.1rem;
  padding: 0 0 20px 0;
  margin-bottom: 12px;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  padding: 10px 0 10px 2px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #527BA1;
  color: #fff;
}

@media (min-width: 987px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HEADER LOGO */
header img {
  max-height: 40px;
  width: auto;
  margin-right: 20px;
}

/* FOOTER */
footer {
  background: #F5F7FA;
  padding: 40px 0 12px 0;
  color: #1D2536;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
footer nav a {
  color: #527BA1;
  font-size: 1rem;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #1D2536;
  text-decoration: underline;
}
footer img {
  height: 36px;
  width: auto;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  footer nav {
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* BUTTONS */
button, .cta-btn, .cookie-btn {
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  transition: background 0.15s, color 0.12s, box-shadow 0.15s;
}
.cookie-btn {
  padding: 8px 20px;
  margin: 0 10px 0 0;
  background: #527BA1;
  color: #fff;
  border-radius: 7px;
  box-shadow: 0 1px 7px rgba(82,123,161,0.12);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #1D2536;
  color: #fff;
}

/* Inputs */
input[type="text"], textarea {
  background: #F5F7FA;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #dfe6ef;
  transition: border 0.13s, box-shadow 0.15s;
  margin-top: 8px;
  margin-bottom: 8px;
  width: 100%;
  color: #1D2536;
}
input:focus, textarea:focus {
  border-color: #527BA1;
  outline: none;
  box-shadow: 0 0 0 1px #527BA1;
}

/* LISTS */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0;
  font-size: 1.04rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  margin-right: 12px;
  margin-top: 2px;
  height: 22px;
  width: 22px;
}

/* QUOTES / BLOCKS */
blockquote {
  background: #F5F7FA;
  border-left: 3px solid #527BA1;
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: 10px;
  color: #1D2536;
  font-style: italic;
  font-size: 1.04rem;
}

/* MISCELLANEOUS FLEXBOX CONTAINERS */
.content-grid, .card-container, .feature-item {
  margin-bottom: 20px;
}

/* PAGES-SPECIFIC DECOR/EXTRA */
.section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1D2536;
  margin-bottom: 24px;
  font-size: 2.1rem;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F5F7FA;
  color: #1D2536;
  box-shadow: 0 -2px 24px rgba(29,37,54,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px 16px 24px 28px;
  flex-wrap: wrap;
  font-size: 1rem;
  border-top: 1px solid #eaecef;
  animation: cookieBannerIn 0.6s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to {   transform: translateY(0); opacity: 1;  }
}
.cookie-consent-banner .cookie-btn {
  margin-top: 10px;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,37,54,0.48);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.4s forwards;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 400px;
  box-shadow: 0 10px 42px rgba(29,37,54,0.16);
  padding: 36px 34px;
  color: #1D2536;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalPop .32s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes cookieModalPop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #527BA1;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1em;
}
.cookie-modal .cookie-category .info {
  color: #527BA1;
  font-size: .95em;
  margin-left: 7px;
  opacity: 0.75;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  margin-top: 16px;
}
.cookie-modal .cookie-btn-ghost {
  background: transparent;
  border: 1px solid #527BA1;
  color: #527BA1;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal .cookie-btn-ghost:hover, .cookie-modal .cookie-btn-ghost:focus {
  background: #F5F7FA;
  color: #1D2536;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 12px;
  background: transparent;
  font-size: 1.8rem;
  color: #527BA1;
  opacity: 0.6;
  border: none;
  cursor: pointer;
  transition: opacity 0.17s;
}
.cookie-modal .cookie-modal-close:hover {
  opacity: 1;
}

/* FORM CHECKS (for cookie modal) */
input[type="checkbox"] {
  accent-color: #527BA1;
}

/* RESPONSIVE: GLOBAL */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper, .text-section {
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .content-wrapper, .text-section {
    padding: 0;
  }
  .card, .feature-item {
    padding: 18px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
    padding: 18px 10px;
  }
  .section, section {
    padding: 28px 0;
  }
}

/* VISUAL EFFECTS & INTERACTIONS */
.card, .card:hover, .cta-btn, .cta-btn:hover, .cookie-btn, .cookie-btn:hover,
.testimonial-card, .testimonial-card:hover, .feature-item {
  transition: box-shadow 0.21s, background 0.14s, color 0.17s, transform 0.18s;
}
.cta-btn, .cookie-btn {
  transition: background 0.17s, color 0.15s, box-shadow 0.17s, transform 0.12s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}
.card:active {
  transform: scale(0.98);
}

/* PAGE-SPECIFIC ADJUST (FAQ Search) */
input[type="text"][aria-label], input[type="search"] {
  margin-top: 6px;
  margin-bottom: 12px;
}

/* General helper classes */
.hide {
  display: none !important;
}
.visible {
  display: block !important;
}

/* Utility: visually-hidden for a11y */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* END */
