/* RESET & BASE STYLES */
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, menu, 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, 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;
  background: #F6F8FA;
  color: #273C4D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button:focus, a:focus, input:focus, textarea:focus {
  outline: 2px solid #F7C251;
  outline-offset: 2px;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  color: #273C4D;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li { font-size: 1rem; line-height: 1.7; }
p { margin-bottom: 16px; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
a {
  color: #273C4D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #194263;
}

/* UTILITY FLEX CLASSES */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 24px rgba(39,60,77,0.06);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(39,60,77,0.09);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(39,60,77,0.15);
  transform: translateY(-2px);
}
.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 {
  background: #f3f6fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(39,60,77,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  color: #1b2532;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: italic;
  color: #273C4D;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(39,60,77,0.15);
  transform: translateY(-2px);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID EXTRAS (e.g. /) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #f6f8fa;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(39,60,77,0.08);
  padding: 24px 18px;
  flex: 1 1 230px;
  min-width: 230px;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature img {
  margin-bottom: 12px;
  max-width: 42px;
}
.feature:hover {
  box-shadow: 0 4px 18px rgba(39,60,77,0.14);
  transform: translateY(-2px);
}

/* HEADER & NAVBAR */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(39,60,77,0.06);
  padding: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #273C4D;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.18s, color 0.19s;
}
header nav a:hover, header nav a:focus {
  background: #F7C251;
  color: #273C4D;
}
header .nav-cta {
  background: #273C4D;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 7px;
  font-weight: 700;
  margin-left: 16px;
  transition: background 0.22s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(39,60,77,0.07);
}
header .nav-cta:hover, header .nav-cta:focus {
  background: #194263;
  color: #fff;
  box-shadow: 0 6px 16px rgba(39,60,77,0.10);
}
header img {
  height: 42px;
  width: auto;
  margin-right: 24px;
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #273C4D;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.2s;
  z-index: 2100;
  padding: 6px 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F7C251;
  background: #273C4D18;
  border-radius: 6px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90%;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 20px rgba(39,60,77,0.15);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.22,.33,1);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  padding-top: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #273C4D;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7C251;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 28px 18px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  color: #273C4D;
  padding: 12px 0;
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.16s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7C25133;
  color: #194263;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}


/* MAIN SECTIONS & SPACING */
main {
  width: 100%;
  flex: 1;
  min-height: 60vh;
  margin-bottom: 40px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}
section .container {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0 20px;
  width: 100%;
}

/* PRIMARY BUTTONS / CTA */
.primary-cta {
  background: #273C4D;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 38px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.22s, box-shadow 0.19s, transform 0.18s;
  box-shadow: 0 2px 6px rgba(39,60,77,0.12);
  display: inline-block;
  margin-top: 10px;
}
.primary-cta:hover, .primary-cta:focus {
  background: #194263;
  color: #fff;
  box-shadow: 0 8px 24px rgba(39,60,77,0.14);
  transform: translateY(-2px);
}

/* SECONDARY & FILTER BUTTONS (e.g., filters in blog.html) */
.categories-filter {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.categories-filter button {
  background: #fff;
  color: #273C4D;
  border: 1px solid #DBE1E8;
  border-radius: 7px;
  font-size: 1rem;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border 0.17s;
  margin-bottom: 6px;
}
.categories-filter button:hover, .categories-filter button:focus {
  background: #F7C251;
  color: #273C4D;
  border: 1.5px solid #F7C251;
}

/* BLOG LIST */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.blog-list article {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(39,60,77,0.07);
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 380px;
  padding: 24px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.blog-list article h3 {
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.blog-list article a {
  color: #273C4D;
  font-weight: 700;
  transition: color 0.19s;
  margin-top: 6px;
  display: inline-block;
}
.blog-list article a:hover, .blog-list article a:focus {
  color: #F7C251;
}
.blog-list article:hover {
  box-shadow: 0 6px 22px rgba(39,60,77,0.13);
  transform: translateY(-2px);
}

/* FORMS AND INPUTS */
input[type="text"] {
  background: #F6F8FA;
  border: 1px solid #DBE1E8;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  max-width: 360px;
  margin-bottom: 8px;
  transition: border 0.18s;
}
input[type="text"]:focus {
  border-color: #F7C251;
}

/* FOOTER */
footer {
  background: #273C4D;
  color: #fff;
  padding: 40px 0 28px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 18px;
  display: block;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: color 0.19s;
}
footer nav a:hover, footer nav a:focus {
  color: #F7C251;
}
.footer-contact p, .footer-contact img {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 7px;
  height: 20px;
  width: 20px;
}

/* LEGAL PAGES */
.text-section {
  background: #f6f8fa;
  border-radius: 12px;
  padding: 24px 18px;
  box-shadow: 0 1px 8px rgba(39,60,77,0.08);
  margin-top: 10px;
  margin-bottom: 10px;
}

/* COOKIE CONSENT */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #273C4D;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  box-shadow: 0 -4px 24px rgba(39,60,77,0.14);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 24px 20px;
  gap: 32px;
  flex-wrap: wrap;
  transition: transform 0.28s cubic-bezier(0.39,0.58,0.57,1);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-consent-message {
  font-size: 1rem;
  color: #fff;
  margin-right: 14px;
  flex: 1 1 200px;
}
.cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.20s, color 0.18s;
}
.cookie-btn.accept {
  background: #F7C251;
  color: #273C4D;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #ffdf96;
}
.cookie-btn.reject {
  background: #fff;
  color: #273C4D;
  border: 1px solid #E2E6ED;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e8eaec;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #F7C251;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #273C4D;
  color: #F7C251;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 97vw;
  max-width: 420px;
  background: #fff;
  color: #273C4D;
  transform: translate(-50%, -50%) scale(0.96);
  box-shadow: 0 8px 56px rgba(39,60,77,0.22);
  border-radius: 18px;
  z-index: 3100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.22s;
  padding: 32px 28px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #273C4D;
  height: 18px;
  width: 18px;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #273C4D;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .close-cookie-modal:hover {
  color: #F7C251;
}

/* RESPONSIVE LAYOUTS & FLEX DIRECTION SWITCHES */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  .footer-brand, .footer-contact {
    min-width: 160px;
  }
  .feature-grid {
    gap: 16px;
  }
  .blog-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
    max-width: 100vw;
  }
  .content-grid, .feature-grid, .card-container, .blog-list {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .section, section {
    padding: 25px 4px;
    margin-bottom: 36px;
  }
  .testimonial-card, .card, .feature {
    min-width: 0;
    max-width: 98vw;
    padding: 18px 10px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }
  header .container {
    gap: 0;
    min-height: 62px;
  }
}
@media (max-width: 520px) {
  .cookie-consent-banner {
    flex-direction: column;
    padding: 21px 10px 16px 10px;
    gap: 12px;
    font-size: 0.94rem;
  }
  .cookie-btns {
    gap: 10px;
  }
  .cookie-modal {
    padding: 18px 8px;
  }
}

/* MISC VISUALS */
div[role="alert"], .alert {
  background: #F7C251 !important;
  color: #273C4D !important;
  padding: 14px 16px;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(39,60,77,0.08);
  margin-bottom: 18px;
}

/* Animations */
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.section, .testimonial-card, .feature, .blog-list article, .card {
  animation: fadein-up 0.6s cubic-bezier(.7,.22,.33,1) both;
}

/* ADDITIONAL: prevent selection of forbidden CSS methods */
/* No display:grid, no grid-*, no columns, no break-inside, no absolute for content */

