/* ===========================================================================
   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, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F7F9;
  color: #223857;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #223857;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #CEB028;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}

/*
  Typography Scale (mobile view)
*/
h1 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 18px;
}
h3 {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 14px;
}
p {
  margin-bottom: 1.1em;
  color: #223857;
}
strong {
  font-weight: 600;
  color: #223857;
}
em {
  color: #223857;
  font-style: italic;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.text-section {
  font-size: 1rem;
  color: #223857;
  margin-bottom: 12px;
}

/* ===========================================================================
   NAVIGATION
============================================================================ */
header {
  background: #F6F7F9;
  border-bottom: 1px solid #E0E4EC;
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 0 16px 0;
}
.logo-link {
  display: flex;
  align-items: center;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
}
.main-nav ul li a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #223857;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.16s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #E0E4EC;
  color: #CEB028;
}
.cta-btn {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #223857;
  color: #fff;
  padding: 8px 22px;
  border-radius: 26px;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(34, 56, 87, 0.04);
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #CEB028;
  color: #223857;
  box-shadow: 0 4px 14px rgba(34,56,87,0.11);
}

/*
  Mobile menu toggler
*/
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #223857;
  border: none;
  font-size: 2.2rem;
  margin-left: 16px;
  cursor: pointer;
  z-index: 180;
}
@media (max-width: 1020px) {
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
  }
}

/*
  Mobile slide-in menu
*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246, 247, 249, 0.97);
  box-shadow: -2px 0 16px rgba(34,56,87,0.06);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.4,1,.4,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 24px;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #223857;
  margin: 0 28px 22px 0;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 50%;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E0E4EC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  padding: 30px 36px 0 0;
}
.mobile-nav a {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  color: #223857;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  width: fit-content;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E0E4EC;
  color: #CEB028;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ===========================================================================
   HERO SECTION & GENERAL SECTIONS
============================================================================ */
.hero-section {
  background: #223857 url('../assets/hero-bg.jpg') center center/cover no-repeat;
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 48px 0 56px 0;
  margin-bottom: 48px;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  background: rgba(248,249,251,0.11);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(34,56,87,0.10);
  padding: 38px 26px;
  max-width: 580px;
  margin: 0 auto;
}
.hero-section h1 {
  color: #fff;
  margin-bottom: 0.65em;
  font-size: 2.2rem;
}
.hero-section p {
  color: #f5f5f7;
  margin-bottom: 1.5em;
}
.hero-section .cta-btn {
  background: #CEB028;
  color: #223857;
  font-size: 1.15rem;
  padding: 12px 28px;
  font-weight: 700;
}
.hero-section .cta-btn:hover {
  background: #223857;
  color: #CEB028;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 35px;
  }
  .hero-section {
    padding: 38px 0 32px 0;
    min-height: 180px;
    margin-bottom: 28px;
  }
  .hero-section .content-wrapper {
    padding: 18px 8px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}

.text-section {
  font-size: 1rem;
  color: #223857;
  margin-bottom: 12px;
}

/* ===========================================================================
   FLEXBOX LAYOUTS
============================================================================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #E0E4EC;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(34,56,87,0.07);
  margin-bottom: 20px;
  padding: 32px 22px;
  flex: 1 1 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.20s, transform 0.22s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 26px rgba(34, 56, 87, 0.17);
  transform: translateY(-2px) scale(1.016);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(34,56,87,0.12);
  margin-bottom: 20px;
  border: 1px solid #E0E4EC;
  max-width: 680px;
  color: #223857;
  font-size: 1.12rem;
  line-height: 1.5;
  position: relative;
}
.testimonial-card strong {
  font-weight: 600;
  color: #223857;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #E0E4EC;
  box-shadow: 0 2px 8px rgba(34,56,87,0.08);
  margin-bottom: 18px;
}

/* Specific table styling */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0 24px 0;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(34,56,87,0.035);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #E0E4EC;
}
th {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  background: #F6F7F9;
  font-weight: 500;
  color: #223857;
}
tr:last-child td {
  border-bottom: none;
}

/* ===========================================================================
   BUTTONS & INTERACTIVE ELEMENTS
============================================================================ */
button:not(.mobile-menu-toggle):not(.mobile-menu-close),
input[type=submit],
.cta-btn {
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  background: #223857;
  color: #fff;
  padding: 8px 22px;
  border-radius: 26px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 56, 87, 0.05);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  outline: none;
}
button:not(.mobile-menu-toggle):not(.mobile-menu-close):hover,
.cta-btn:hover,
input[type=submit]:hover {
  background: #CEB028;
  color: #223857;
  box-shadow: 0 6px 20px rgba(34, 56, 87, 0.11);
  transform: translateY(-2px) scale(1.03);
}
button:not(.mobile-menu-toggle):not(.mobile-menu-close):focus,
input[type=submit]:focus,
.cta-btn:focus {
  outline: 2px solid #CEB028;
  outline-offset: 2px;
}

/* ===========================================================================
   FOOTER
============================================================================ */
footer {
  background: #fff;
  border-top: 1px solid #E0E4EC;
  padding: 38px 0 22px 0;
  color: #223857;
  font-size: 0.99rem;
  box-shadow: 0 -2px 10px rgba(34,56,87,0.035);
}
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #223857;
  text-decoration: underline;
  margin-right: 3px;
  transition: color 0.18s;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #CEB028;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: center;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  margin-top: 8px;
  color: #223857;
  font-size: 1.08rem;
}
.footer-brand img {
  height: 32px;
  width: auto;
}

/* ===========================================================================
   RESPONSIVE DESIGN (Mobile First)
============================================================================ */

@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    padding: 15px 0 8px 0;
  }
  .footer-nav {
    gap: 6px;
    font-size: 0.97rem;
    flex-wrap: wrap;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 22px 2px;
    margin-bottom: 32px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 1rem;
    padding: 12px 12px;
  }
  .hero-section .content-wrapper {
    padding: 15px 4px;
    max-width: 97vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .feature-item {
    padding: 12px 8px;
    gap: 8px;
  }
  .card {
    padding: 15px 7px;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .hero-section h1 {
    font-size: 1.15rem;
  }
  .footer-brand img {
    height: 22px;
  }
}

/* ===========================================================================
   COOKIE CONSENT BANNER & MODAL
============================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFF;
  color: #223857;
  box-shadow: 0 -2px 16px rgba(34,56,87,0.08);
  border-top: 1px solid #E0E4EC;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  z-index: 9999;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.47,1.64,.41,.8);
}
.cookie-banner.hide {
  transform: translateY(160%);
}
.cookie-banner-message {
  flex: 1 1 auto;
}
.cookie-banner-btns {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-banner-btns .cookie-accept {
  background: #223857;
  color: #fff;
  border-radius: 20px;
  padding: 6px 20px;
}
.cookie-banner-btns .cookie-settings {
  background: #fff;
  color: #223857;
  border: 1px solid #E0E4EC;
  border-radius: 20px;
  padding: 6px 15px;
  box-shadow: 0 0.5px 4px rgba(34,56,87,0.05);
  margin-left: 2px;
}
.cookie-banner-btns .cookie-accept:hover, .cookie-banner-btns .cookie-accept:focus {
  background: #CEB028;
  color: #223857;
}
.cookie-banner-btns .cookie-reject {
  background: transparent;
  color: #223857;
  border-radius: 18px;
  padding: 6px 14px;
  border: 1px solid #E0E4EC;
  transition: background 0.17s, color 0.17s;
}
.cookie-banner-btns .cookie-reject:hover, .cookie-banner-btns .cookie-reject:focus {
  background: #e0e4ec;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 8px;
    font-size: 0.97rem;
  }
  .cookie-banner-btns {
    gap: 7px;
  }
}

/*
  Cookie Modal
*/
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,56,87,0.34);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s cubic-bezier(.45,1.25,.48,1.02);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #223857;
  border-radius: 12px;
  box-shadow: 0 10px 52px rgba(34,56,87,0.16);
  max-width: 440px;
  width: 92vw;
  padding: 36px 28px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalScaleIn 0.31s cubic-bezier(.36,1.46,.72,1.16);
}
@keyframes modalScaleIn {
  from { transform: scale(0.86); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.7rem;
  color: #223857;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 14px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #e0e4ec;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-family: 'Oswald', 'Roboto', Arial, sans-serif;
  color: #223857;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-modal .cookie-category input[type="checkbox"][disabled] {
  accent-color: #e0e4ec;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal .cookie-accept {
  background: #CEB028;
  color: #223857;
  padding: 7px 18px;
  border-radius: 18px;
}
.cookie-modal .cookie-accept:hover,
.cookie-modal .cookie-accept:focus {
  background: #223857;
  color: #fff;
}
.cookie-modal .cookie-reject {
  background: #fff;
  color: #223857;
  border: 1px solid #E0E4EC;
  border-radius: 16px;
  padding: 7px 13px;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal .cookie-reject:hover,
.cookie-modal .cookie-reject:focus {
  background: #E0E4EC;
  color: #223857;
}

@media (max-width: 420px) {
  .cookie-modal {
    padding: 16px 4px 19px 4px;
  }
}

/* ===========================================================================
   GENERAL MICRO-INTERACTIONS / HOVERS / FOCUS
============================================================================ */
.card:focus-within {
  outline: 2px solid #CEB028;
}
.card a:focus {
  outline: 2px solid #CEB028;
  outline-offset: 2px;
}

/* ===========================================================================
   UTILITY
============================================================================ */
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* ===========================================================================
   BRAND FONTS LOAD (Web fonts or fallback to system if not available)
============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');
