/* ---------------------------------------------------
   CSS Reset & Base Normalize
--------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #212529;
  background: #F8F9FA; /* secondary */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  font-size: 1rem;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #184E77;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #0d2d4a;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  outline: none;
  background: none;
}

/* ---------------------------------------------------
   Typography
--------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184E77;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
p, ul li, ol li, dl dd {
  font-size: 1rem;
  color: #383E46;
  margin-bottom: 12px;
}
ul li, ol li {
  padding-left: 0;
}
strong {
  font-weight: 600;
  color: #184E77;
}

dt {
  font-weight: 600;
  color: #184E77;
  margin-top: 16px;
}
dd {
  margin-left: 0;
}

/* Typography scale
   14px, 16px, 18px, 24px, 32px, 48px
*/
.t-xs { font-size: 0.875rem; }
.t-sm { font-size: 1rem; }
.t-md { font-size: 1.125rem; }
.t-lg { font-size: 1.5rem; }
.t-xl { font-size: 2rem; }
.t-xxl { font-size: 3rem; }

/* ---------------------------------------------------
   Layout: Container & Sections
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(24, 78, 119, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F8F9FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24, 78, 119, 0.10);
  padding: 32px;
  min-width: 250px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(24, 78, 119, 0.14);
}
.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: center;
  gap: 20px;
  padding: 20px;
  background: #F8F9FA;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24, 78, 119, 0.07);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 560px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #184E77;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(24, 78, 119, 0.18);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------------------
   Header & Top Navigation
--------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1px solid #e5ecf4;
  position: relative;
  z-index: 100;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 32px;
  padding: 12px 0;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 18px;
}
nav ul {
  display: flex;
  gap: 20px;
}
nav ul li {
  list-style: none;
}
nav ul li a {
  display: inline-block;
  padding: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184E77;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: background 0.16s, color 0.15s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #e5ecf4;
  color: #0a2940;
}
.cta-primary {
  background: #184E77;
  color: #fff !important;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 11px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  margin-left: 28px;
  box-shadow: 0 1px 8px rgba(24,78,119,0.09);
  transition: background 0.16s, transform 0.12s, box-shadow 0.12s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #296193;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(24,78,119,0.14);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: #184E77;
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.14s, box-shadow 0.14s;
  z-index: 220;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #296193;
  box-shadow: 0 2px 12px rgba(24, 78, 119, 0.11);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 78, 119, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 2220;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.79,-0.08,.52,1.01);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  align-self: flex-end;
  margin-right: 22px;
  margin-top: 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F7B801;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  padding: 18px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s, color 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #296193;
  color: #F7B801;
}

/* Hide desktop nav on mobile, show burger; reverse on desktop */
@media (max-width: 1024px) {
  nav ul, nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  nav ul, nav .cta-primary {
    display: flex;
  }
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */
footer {
  background: #1a4970;
  color: #fff;
  padding: 48px 0 28px 0;
  box-sizing: border-box;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-logo img {
  height: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: #F8F9FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a {
  color: #f9fafc;
  opacity: 0.82;
  transition: color 0.13s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F7B801;
  opacity: 1;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contact a img {
  height: 30px;
  width: 30px;
  opacity: 0.85;
  transition: opacity 0.13s;
}
.footer-contact a:hover img, .footer-contact a:focus img {
  opacity: 1;
}
footer span {
  font-family: 'Roboto', Arial, sans-serif;
  color: #fff;
  font-size: 1rem;
  opacity: 0.86;
}

/* ---------------------------------------------------
   Sections & Corporate Spacing Patterns
--------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: none;
}
@media (max-width: 1024px) {
  section {
    padding: 32px 0;
  }
}

.content-wrapper > ul, .content-wrapper > ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 0px;
  list-style: none;
}
.content-wrapper > ul > li, .content-wrapper > ol > li {
  background: #fff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0px 1px 6px rgba(24, 78, 119, 0.05);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-height: 56px;
}
.content-wrapper > ul > li img {
  margin-right: 14px;
  width: 32px;
  height: 32px;
}
.content-wrapper > ul > li strong {
  font-weight: 700;
  font-size: 1.02rem;
  min-width: 130px;
  flex-shrink: 0;
}

.text-section {
  display: flex;
  flex-direction: row;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 20px;
}
.text-section ul {
  margin-left: 0;
  gap: 12px;
}
.text-section ul li {
  padding: 8px 18px;
  background: #e5ecf4;
  border-radius: 6px;
  color: #222c37;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .text-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ---------------------------------------------------
   Forms, Inputs (if needed in future)
--------------------------------------------------- */
input, textarea, select {
  border: 1px solid #b4c9de;
  padding: 11px 14px;
  border-radius: 6px;
  background: #fff;
  transition: border 0.14s, box-shadow 0.14s;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #184E77;
  box-shadow: 0 2px 10px rgba(24, 78, 119, 0.09);
}

button, input[type='submit'] {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ---------------------------------------------------
   Responsive Layouts (Flex ONLY)
--------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .card-container, .content-grid, .footer-content {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    min-width: 0;
    padding: 0 4vw;
  }
  .footer-content {
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 8px;
  }
  section {
    margin-bottom: 36px;
    padding: 20px 0;
  }
  .text-image-section, .text-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }
  .content-wrapper > ul > li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------------------------------------------------
   Misc Elements & Utilities
--------------------------------------------------- */
.content-wrapper > ul > li span {
  color: #F7B801;
  font-weight: 600;
  margin-left: 8px;
}
.content-wrapper > ol > li:before {
  content: '•';
  color: #184E77;
  font-weight: bold;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}

hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 32px 0;
}

/* Accordions, FAQ */
dl {
  padding: 0;
  margin-bottom: 0;
}
dl dt {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
dl dd {
  margin-bottom: 18px;
}

/* ---------------------------------------------------
   Cookie Consent Banner & Modal
--------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 98vw;
  max-width: 650px;
  background: #1a4970;
  color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 48px rgba(24, 78, 119, 0.12);
  padding: 28px 20px 20px 24px;
  z-index: 4880;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  opacity: 0.98;
  transition: transform 0.32s cubic-bezier(.49,-0.19,.57,1.23);
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  min-width: 120px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.16s, color 0.13s, box-shadow 0.11s, border 0.12s;
  box-shadow: 0 2px 15px rgba(24, 78, 119, 0.09);
}
.cookie-btn.accept {
  background: #184E77;
  color: #fff;
  border: 2px solid #184E77;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #296193;
}
.cookie-btn.reject {
  background: #fff;
  color: #184E77;
  border: 2px solid #184E77;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5ecf4;
  color: #184E77;
}
.cookie-btn.settings {
  background: #f7b801;
  color: #184E77;
  border: 2px solid #f7b801;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #ffe080;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24, 78, 119, 0.40);
  z-index: 4899;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s cubic-bezier(.49,-0.19,.57,1.23);
}
.cookie-modal-overlay.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 2px 32px rgba(24, 78, 119, 0.12);
  max-width: 420px;
  width: 94vw;
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184E77;
  font-size: 1.32rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F8F9FA;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.cookie-modal-category.essential {
  opacity: 0.6;
}
.cookie-category-label {
  color: #184E77;
  font-weight: 600;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-toggle input[type='checkbox'] {
  accent-color: #F7B801;
  width: 20px;
  height: 20px;
  margin: 0 4px 0 0;
}
.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #184E77;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.13s;
  z-index: 4120;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #f7b801;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 18px 8px 14px 10px;
  }
}

/* Animations for cookie components */
@keyframes slideUpCookie {
  0% { transform: translateY(150%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner.active {
  animation: slideUpCookie 0.4s cubic-bezier(.5,-0.1,.6,1.2);
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal-overlay.active .cookie-modal {
  animation: fadeInCookieModal 0.4s cubic-bezier(.49,-0.19,.57,1.23);
}

/* ---------------------------------------------------
   Micro-Interactions, Transitions
--------------------------------------------------- */
.card, .testimonial-card, .cta-primary, .cookie-btn {
  transition: box-shadow 0.16s, transform 0.14s, background 0.14s, color 0.15s;
}
.card:active, .testimonial-card:active, .cta-primary:active {
  transform: scale(0.99);
}

/* ---------------------------------------------------
   Utility Spacing
--------------------------------------------------- */
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-20 { margin-top: 20px !important; }
.pt-10 { padding-top: 10px !important; }
.pb-28 { padding-bottom: 28px !important; }

/* ---------------------------------------------------
   Accessibility & Focus
--------------------------------------------------- */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cookie-btn:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2px solid #F7B801;
  outline-offset: 2px;
  z-index: 3012;
}

/* ---------------------------------------------------
   Custom Scrollbar
--------------------------------------------------- */
body::-webkit-scrollbar {
  width: 8px;
  background: #F0F3F7;
}
body::-webkit-scrollbar-thumb {
  background: #e5ecf4;
  border-radius: 4px;
}

/* ---------------------------------------------------
   Corporate Colors for Highlights, Quotes, Badges
--------------------------------------------------- */
.bg-accent {
  background: #F7B801 !important;
  color: #184E77 !important;
}
.text-accent {
  color: #F7B801 !important;
}
.text-primary {
  color: #184E77 !important;
}

/* ---------------------------------------------------
   Hide visually / for accessibility only
--------------------------------------------------- */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ---------------------------------------------------
   END OF CSS
--------------------------------------------------- */