/* --- 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FAFAFA;
  color: #1A1A1A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F7F9FB;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #FFD700;
  outline: none;
}
ul, ol {
  margin: 0 0 16px 20px;
}
li {
  margin-bottom: 8px;
}

/* --- BRAND FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #003366;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; }

p, li, dd {
  font-size: 1rem;
  color: #1A1A1A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 12px;
  line-height: 1.6;
}
strong, b {
  font-weight: 700;
  color: #003366;
}

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

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

/* --- HEADER --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,24,0.05);
  border-bottom: 1px solid #dde3e8;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 8px;
  border-radius: 7px;
  transition: background 0.15s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #F5F7F9;
  color: #FFD700;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 24px;
  background: #003366;
  color: #fff;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.25s, color 0.2s;
  box-shadow: 0 1px 3px rgba(0,18,30,0.05);
  text-align: center;
  outline: none;
  letter-spacing: 0.2px;
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FFD700;
  color: #003366;
}

/* --- MOBILE HEADER & MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFD700;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.5,0,0.2,1);
  box-shadow: 2px 0 16px rgba(0,0,24,0.10);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #003366;
  position: absolute;
  top: 24px;
  right: 28px;
  cursor: pointer;
  z-index: 101;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F5F7F9;
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 60px;
  padding: 30px 32px 32px 32px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  color: #003366;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F7F9;
  color: #FFD700;
}

/* --- HERO --- */
.hero {
  min-height: 300px;
  padding: 56px 20px 36px 20px;
  background: linear-gradient(135deg, #EAF0F6 0%, #fff 100%);
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 16px rgba(0,24,44,0.06);
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.hero h1 {
  font-size: 2.3rem;
}

/* --- FLEXBOX AND CONTENT LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; 
  margin-bottom: 28px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,24,44,0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 255px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 24px rgba(0,24,44,0.13);
  transform: translateY(-2px) scale(1.025);
}
.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: 15px;
  background: #fff;
  color: #003366;
  border-radius: 14px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px rgba(0,30,60,0.11);
  border: 1px solid #E1E6EB;
  max-width: 560px;
  transition: box-shadow 0.17s;
}
.testimonial-card p {
  color: #1A1A1A;
  font-size: 1rem;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card strong {
  color: #003366;
  font-size: 1rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- SERVICE CARDS --- */
.service-card {
  background: #F7F9FB;
  border: 1px solid #E1E6EB;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(0,18,30,0.04);
  margin-bottom: 20px;
  padding: 20px 24px;
  transition: box-shadow 0.18s;
}
.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.service-card p {
  margin-bottom: 8px;
  color: #222F35;
}
.service-card strong {
  color: #003366;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 3px 18px rgba(0,24,44,0.13);
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #E1E6EB;
  padding: 36px 0 16px;
}
footer .container {
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #003366;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 0;
  border-radius: 7px;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD700;
}
.brand-credits p {
  color: #9fa8b1;
  font-size: 0.92rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- LISTS / DLS --- */
dt {
  font-weight: 700;
  color: #003366;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 5px;
  margin-top: 18px;
}
dd {
  margin-left: 0;
  margin-bottom: 16px;
  color: #1A1A1A;
  font-size: 1rem;
}

/* --- BUTTONS --- */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}
button {
  cursor: pointer;
  background: #F7F9FB;
  color: #003366;
  border: 1px solid #C5CFDA;
  border-radius: 9px;
  font-size: 1rem;
  padding: 9px 18px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
button:hover, button:focus {
  background: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  color: #003366;
  border-top: 1px solid #DADADA;
  box-shadow: 0 -4px 24px rgba(0,24,44,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 26px 16px 20px 16px;
  transition: transform 0.4s cubic-bezier(0.5,0,0.2,1), opacity 0.3s;
  opacity: 1;
  transform: translateY(0);
  gap: 20px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p {
  font-size: 1rem;
  color: #003366;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  background: #EAEAEA;
  color: #003366;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,18,30,0.07);
}
.cookie-btn.accept {
  background: #003366;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFD700;
  color: #003366;
}
.cookie-btn.reject {
  background: #EAEAEA;
  color: #003366;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFD700;
  color: #003366;
}
.cookie-btn.settings {
  background: #fff;
  color: #003366;
  border: 1px solid #E1E6EB;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

/* --- COOKIES MODAL PREFERENCES --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10010;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,24,44,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.33s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 4px 40px rgba(0,18,30,0.19);
  width: 98%;
  max-width: 410px;
  padding: 32px 22px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein 0.5s;
}
@keyframes fadein {
  from { opacity:0; transform: translateY(20px);} to { opacity:1; transform: translateY(0);}
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #003366;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 13px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  opacity: 0.77;
  border-radius: 50%;
  transition: background 0.2s, color 0.18s;
  padding: 4px 9px 4px 9px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4F7F9;
  color: #FFD700;
}
.cookie-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #003366;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #003366;
  width: 19px;
  height: 19px;
  border-radius: 5px;
}
.cookie-label {
  font-weight: 500;
  font-size: 1rem;
  color: #003366;
  margin-bottom: 0;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* --- FORMS (No built-in forms, but basic style) --- */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #CDD8E2;
  background: #F8FBFC;
  color: #245;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color 0.17s, background 0.17s;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border-color: #003366;
  background: #fff;
}

/* --- STANDARD RESPONSIVE & SPACING: MOBILE FIRST --- */
@media (max-width: 1280px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .testimonial-card {
    max-width: 97vw;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    height: auto;
    min-height: 56px;
    padding: 0 10px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    padding: 7px 17px;
    font-size: 1rem;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    border-radius: 0 0 10px 10px;
    padding: 34px 6px 20px 6px;
    margin-bottom: 32px;
  }
  .content-wrapper, .text-image-section {
    gap: 13px !important;
  }
  .section {
    padding: 15px 4px;
    margin-bottom: 36px;
  }
  .container {
    max-width: 100vw;
    padding: 0 6px;
  }
  .card-container, .content-grid, .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 17px 10px 19px 14px;
    margin-bottom: 16px;
    max-width: 98vw;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.26rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 0.99rem; }
  .cookie-modal {
    max-width: 92vw;
    padding: 17px 8px 17px 10px;
  }
}
@media (max-width: 540px) {
  .footer .container, footer .container {
    padding: 0 6px;
  }
  .testimonial-card, .service-card, .card {
    border-radius: 7px;
    padding: 13px 6px;
  }
}
@media (max-width: 440px) {
  .hero {
    padding: 17px 2px 12px 2px;
    border-radius: 0 0 4px 4px;
  }
  .cookie-banner {
    padding: 16px 2px 17px 2px;
  }
  .cookie-modal {
    padding: 10px 2px 10px 4px;
  }
}

/* --- VISUAL DETAILS & MICRO ANIMATIONS --- */
.card, .service-card, .testimonial-card, .section, .cookie-modal {
  transition: box-shadow 0.20s, transform 0.16s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .section:focus-within {
  box-shadow: 0 5px 34px rgba(0,24,44,0.18);
  transform: translateY(-2px) scale(1.012);
}

input[type=checkbox], input[type=radio] {
  accent-color: #003366;
}

::-webkit-scrollbar {
  width: 9px;
  background: #F4F7F9;
}
::-webkit-scrollbar-thumb {
  background: #D6D7DB;
  border-radius: 8px;
}

/* --- HIGHLIGHT BRAND COLORS IN BGs / ACCENTS --- */
.bg-primary {
  background: #003366;
  color: #fff;
}
.bg-secondary {
  background: #D9D9D9;
  color: #003366;
}
.bg-accent {
  background: #FFD700;
  color: #003366;
}

/* --- Utility / Margin Spacing Classes --- */
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-28 { margin-top: 28px !important; }
.p-20 { padding: 20px !important; }
.p-40 { padding: 40px !important; }
.gap-20 { gap: 20px !important; }
p + p { margin-top: 8px; }

/*********************************************
 *           FLEXBOX CRITICAL RULES          *
 ********************************************/
/* No grid, no columns - all layouts are flexbox */
/* Content wrappers, page sections and major groupings use flex with gap and flex-wrap when necessary */

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