/* 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, 
main, 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;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #fff;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #172A4F;
  background: #fff;
  line-height: 1.5;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #172A4F;
  text-decoration: none;
  transition: color .2s cubic-bezier(.5,0,.5,1);
  font-weight: 700;
}
a:hover, a:focus {
  color: #F6B80A;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 24px;
}
li {
  margin-bottom: 8px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #172A4F;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
  margin-top: 8px;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #F6B80A;
}
strong {
  font-weight: 800;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  margin: 18px 0 18px 0;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 60px 0 40px 0;
  align-items: flex-start;
  background: #fff;
}
.hero h1 {
  color: #172A4F;
}
.hero .cta {
  margin-top: 32px;
}

/* FLEXBOX LAYOUTS & GAPS */
.card-container,
.card-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
  margin-bottom: 16px;
}
.feature-grid {
  gap: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.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 28px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 26px 0 rgba(23,42,79,0.13), 0 2px 8px 0 rgba(246,184,10,0.09);
  margin-bottom: 20px;
  border: 3px solid #F6B80A44;
  min-width: 0;
  max-width: 540px;
  width: 100%;
  transition: box-shadow 0.3s cubic-bezier(.45,1.12,.67,.99), border-color 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(23,42,79,0.20), 0 4px 12px rgba(246,184,10,0.12);
  border-color: #F6B80A;
}
.testimonials .testimonial-card {
  background: #fff;
  color: #172A4F;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 600;
  color: #172A4F;
}
.testimonial-meta,
.testimonial-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #F6B80A;
  font-weight: 700;
  margin-top: 2px;
}

.feature {
  background: #172A4F;
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  box-shadow: 0 4px 24px 0 rgba(23,42,79,0.08), 0 1.5px 4px 0 rgba(246,184,10,0.08);
  min-width: 240px;
  max-width: 370px;
  flex: 1 1 240px;
  margin-bottom: 16px;
  position: relative;
}
.feature img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
}
.feature h3 {
  color: #F6B80A;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.feature p {
  color: #fff;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* BUTTONS & CTAS */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 800;
  background: #F6B80A;
  color: #172A4F;
  border: none;
  border-radius: 32px;
  padding: 13px 36px;
  margin: 15px 0 0 0;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(246,184,10, 0.16);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.16s;
}
.cta.primary {
  background: #172A4F;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F6B80A;
  color: #172A4F;
  transform: translateY(-2px) scale(1.025);
}
.cta:hover, .cta:focus {
  background: #172A4F;
  color: #F6B80A;
  transform: translateY(-2px) scale(1.025);
}

button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 24px;
  border: none;
  background: #F6B80A;
  color: #172A4F;
  padding: 11px 26px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.16s, color .16s, transform 0.12s;
}
button:active {
  transform: scale(0.98);
}
button:hover, button:focus {
  background: #172A4F;
  color: #fff;
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  border-bottom: 4px solid #F6B80A;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  height: 88px;
  min-height: 62px;
}
.logo img {
  display: block;
  width: 162px;
  min-width: 110px;
}
nav.main-menu, .footer-main {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.main-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  color: #172A4F;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 8px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
.main-menu a:hover, .main-menu a:focus {
  background: #F6B80A;
  color: #172A4F;
}

/* HIDE BURGER ON DESKTOP */
.mobile-menu-toggle {
  background: none;
  color: #172A4F;
  border: none;
  font-size: 2rem;
  display: none;
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F6B80A;
  color: #F6B80A;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1010;
  background: rgba(23,42,79,.96);
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(.82,0,.16,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 0 0 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #F6B80A;
  font-size: 2.1rem;
  border: none;
  align-self: flex-end;
  margin: 0 26px 16px 0;
  cursor: pointer;
  padding: 8px;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding-left: 42px;
  margin-top: 14px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.45rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 9px 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F6B80A;
  background: #fff2;
}

/* FOOTER */
footer {
  background: #172A4F;
  color: #fff;
  padding: 36px 0 8px;
  margin-top: 60px;
}
footer .container {
  gap: 18px;
  align-items: flex-start;
}
.footer-main, .footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-main a, .footer-links a {
  color: #F6B80A;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: 0.3px;
  padding: 3px 2px;
  transition: color .13s, background .13s;
}
.footer-main a:hover, .footer-links a:hover, .footer-main a:focus, .footer-links a:focus {
  color: #fff;
  background: #F6B80A44;
  border-radius: 6px;
}
.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 16px;
}
footer p {
  font-size: 0.95rem;
  color: #fff;
  margin-top: 14px;
}

/* CARDS, GRIDS, FLEX ITEMS */
.card, .feature {
  transition: box-shadow .22s, border-color .17s, transform .14s;
}
.card:hover, .feature:hover {
  box-shadow: 0 10px 24px 0 rgba(23,42,79,0.16), 0 2.5px 8px 0 rgba(246,184,10,0.12);
  transform: translateY(-3px) scale(1.025);
}

/* GENERAL SPACING & SECTION */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
section.testimonials {
  background: #f9fafc;
  border-top: 3px solid #F6B80A33;
  border-bottom: 3px solid #F6B80A33;
  padding: 60px 0 50px;
}
section .container {
  gap: 26px;
}

/* UTILITY */
.bg-secondary {
  background: #F6B80A;
  color: #172A4F;
}
.bg-primary {
  background: #172A4F;
  color: #fff;
}
.rounded {
  border-radius: 18px;
}
.shadow {
  box-shadow: 0 4px 24px 0 rgba(23,42,79,0.09);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1220px) {
  .container {
    max-width: 100%;
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (max-width: 1020px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    min-height: 62px;
    gap: 12px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
  .feature, .card {
    min-width: 180px;
    flex: 1 1 170px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  header .container {
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: row;
    gap: 0;
    min-height: 56px;
    height: auto;
  }
  nav.main-menu, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container, section .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero {
    padding-top: 36px;
    padding-bottom: 22px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .testimonial-card {
    padding: 22px 12px;
  }
  .testimonials .container {
    gap: 12px;
  }
  .footer-main, .footer-links {
    flex-direction: column;
    gap: 14px;
  }
  .social-icons {
    margin-bottom: 10px;
  }
  .mobile-menu {
    padding-top: 9px;
  }
  .mobile-nav {
    padding-left: 24px;
  }
  section {
    padding: 22px 0 18px;
  }
  .section {
    padding: 18px 9px !important;
    margin-bottom: 36px !important;
  }
  .testimonial-card {
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
  }
}

@media (max-width: 500px) {
  .logo img {
    width: 118px;
  }
  header .container {
    min-height: 42px;
  }
  h1 {
    font-size: 1.47rem;
    margin-bottom: 16px;
  }
  .feature {
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 15px 5px;
    font-size: 0.98rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #172A4F;
  color: #fff;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 19px 14px;
  box-shadow: 0 -3px 22px 0 #0004;
  font-size: 1.03rem;
  gap: 26px;
  min-height: 60px;
  transition: transform 0.31s cubic-bezier(.7,0,.2,1);
}
.cookie-banner.closed {
  transform: translateY(100%);
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 24px;
  margin: 0 2px;
  background: #F6B80A;
  color: #172A4F;
  font-weight: 800;
  transition: background .15s, color .15s, box-shadow .2s;
  box-shadow: 0 1.5px 6px 0 rgba(246,184,10, 0.10);
  border: none;
  cursor: pointer;
}
.cookie-banner button:hover,
.cookie-banner .cta:hover, 
.cookie-banner button:focus,
.cookie-banner .cta:focus {
  background: #fff;
  color: #172A4F;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #172A4F;
  border: 2px solid #F6B80A;
  font-weight: 700;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #F6B80A;
  color: #172A4F;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    font-size: 1rem;
    padding: 13px 6px;
  }
  .cookie-banner .cookie-btn-group {
    justify-content: flex-start;
    gap: 7px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1260;
  background: rgba(23,42,79,0.82);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 34px 0 rgba(23,42,79,0.23);
  max-width: 420px;
  width: 98vw;
  padding: 36px 22px 28px 24px;
  color: #172A4F;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  position: relative;
  animation: popInCookie .33s cubic-bezier(.7,0,.2,1);
}
@keyframes popInCookie {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal h2 {
  color: #172A4F;
  font-size: 1.23rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1.05rem;
  margin-left: 6px;
  font-weight: 700;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #F6B80A;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-open-btn-close {
  position: absolute;
  right: 16px;
  top: 18px;
  background: transparent;
  color: #F6B80A;
  border: none;
  font-size: 1.53rem;
  cursor: pointer;
  padding: 0 3px;
}
.cookie-modal .cookie-btns {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 13px;
}
.cookie-modal .cookie-btns button {
  padding: 11px 18px;
  font-size: 1.07rem;
  min-width: 110px;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 5px;
    font-size: .95rem;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
}

/* FORM ELEMENTS & CONTACT */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #F6B80A88;
  margin-bottom: 15px;
  margin-top: 2px;
  outline: none;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #172A4F;
}

/* ICONS IN LISTS */
ul li img {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  margin-bottom: 2px;
}
ul li span {
  font-size: 1rem;
  font-weight: 700;
  color: #172A4F;
}

/* MISCELLANEOUS */
hr {
  border: 0;
  border-top: 2px solid #F6B80A22;
  margin: 30px 0;
}
blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: #F6B80A;
  border-left: 5px solid #F6B80A;
  padding-left: 11px;
  margin: 24px 0 14px 0;
}

/* HIGH-CONTRAST HIGHLIGHT OR BADGE */
.badge {
  display: inline-block;
  background: #F6B80A;
  color: #172A4F;
  font-weight: 800;
  border-radius: 16px;
  font-size: .93rem;
  padding: 4px 13px;
  margin-left: 7px;
  margin-bottom: 7px;
}

/* Hide visually-hidden elements */
.visually-hidden {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important; 
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

/* Scrollbar Design */
::-webkit-scrollbar {
  width: 8px;
  background: #F6B80A11;
}
::-webkit-scrollbar-thumb {
  background: #F6B80A;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #172A4F;
}
