/* ======================================================================
   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, 
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;
}

/* Set box-sizing globally */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #FFB300; }

ul, ol { list-style: none; }

strong, b { font-weight: bold; }

/* ======================================================================
   TYPOGRAPHY & GEOMETRIC STRUCTURE
====================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.16; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.4rem; line-height: 1.25; }
h4 { font-size: 1.2rem; line-height: 1.3; }
p, ul, ol { font-size: 1rem; color: #222; }
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* ======================================================================
   HEADER & NAVIGATION
====================================================================== */
header {
  background: #003366;
  color: #fff;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,24,51,.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header a img {
  height: 48px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a.cta-primary {
  background: #FFB300;
  color: #003366;
  font-weight: 800;
  margin-left: 24px;
  letter-spacing: 0.05em;
  padding: 10px 26px;
  border-radius: 32px;
  box-shadow: 0 2px 14px rgba(0,24,51,0.07);
  border: none; 
  text-transform: uppercase;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EAF4FB;
  color: #003366;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #003366;
  color: #FFB300;
  box-shadow: 0 4px 20px rgba(255,179,0,0.13);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #FFB300;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  outline: none;
  margin-left: 20px;
  transition: color 0.2s;
  z-index: 102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #fff39a;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    min-height: 56px;
  }
  header a img {
    height: 38px;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #003366;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.55,.06,.68,.19);
  box-shadow: 16px 0 32px rgba(0,0,0,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.32s cubic-bezier(.31,1.52,.59,.96);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFB300;
  font-size: 2.2rem;
  padding: 16px;
  align-self: flex-end;
  margin-right: 8px;
  margin-top: 24px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 201;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff39a;
}
.mobile-nav {
  margin: 48px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 0 32px 32px 0;
  transition: background 0.2s, color 0.2s;
  width: 80vw;
  max-width: 310px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAF4FB;
  color: #003366;
}

/* ======================================================================
   HERO SECTION & CTA BUTTONS
====================================================================== */
.hero {
  background: #EAF4FB;
  padding: 66px 0 54px 0;
  margin-bottom: 0;
  position: relative;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 780px;
}
.hero h1 {
  color: #003366;
  font-size: 2.3rem;
  line-height: 1.09;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.hero p {
  color: #003366;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.cta-primary {
  background: #FFB300;
  color: #003366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 32px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,24,51,0.09);
  transition: background 0.22s, color 0.14s, transform 0.16s;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #003366;
  color: #FFB300;
  transform: scale(1.045);
  box-shadow: 0 6px 26px rgba(0,51,102,0.12);
}

/* ======================================================================
   GEOMETRIC FEATURES & SERVICE SECTION
====================================================================== */
.features-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 20px;
}
.features-grid {
  align-items: stretch;
  justify-content: flex-start;
  gap: 32px;
}
.feature {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(0,24,51,0.08);
  border: 2.5px solid #EAF4FB;
  flex: 1 1 232px;
  min-width: 170px;
  max-width: 260px;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  transition: box-shadow 0.22s, border 0.14s, transform 0.18s;
  margin-bottom: 20px;
}
.feature img {
  width: 48px;
  aspect-ratio: 1/1;
  margin-bottom: 4px;
}
.feature h3 {
  font-size: 1.21rem;
  margin-bottom: 7px;
}
.feature p { font-size: 0.98rem; color: #222; }
.feature:hover, .feature:focus-within {
  border: 2.5px solid #FFB300;
  box-shadow: 0 6px 32px rgba(255,179,0,0.10),0 6px 24px rgba(0,51,102,0.09);
  transform: scale(1.04);
}

.our-services ul, .benefits ul {
  margin: 0 0 8px 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.our-services ul li, .benefits ul li {
  font-size: 1rem;
  color: #003366;
  line-height: 1.5;
  min-height: 22px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.our-services ul li strong {
  color: #FFB300;
}
.benefits ul li img {
  width: 20px; margin-right: 8px;
}

/* ======================================================================
   TESTIMONIALS
====================================================================== */
.testimonials {
  background: #fff;
  padding: 40px 0 46px 0;
}
.testimonials .content-wrapper {
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 30px;
  background: #EAF4FB;
  color: #003366;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 13px rgba(0,51,102,.08);
  min-width: 240px;
  max-width: 560px;
  transition: box-shadow 0.22s, transform 0.15s;
}
.testimonial-card p {
  font-size: 1.075rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.6;
  color: #003366;
}
.testimonial-card strong {
  font-size: .98rem;
  letter-spacing: 0.01em;
  color: #003366;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px rgba(0,51,102,0.10),0 10px 40px rgba(255,179,0,0.09);
  transform: scale(1.017);
}

/* ======================================================================
   CARDS, TABLES, AND CONTENT GRID
====================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 13px rgba(0,24,51,.06);
  border: 2px solid #EAF4FB;
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 180px;
  max-width: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow .21s, border .12s, transform .14s;
}
.card:hover, .card:focus-within {
  border: 2px solid #FFB300;
  box-shadow: 0 6px 24px rgba(255,179,0,0.07), 0 10px 38px rgba(0,51,102,0.09);
  transform: scale(1.019);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  .card-container, .content-grid, .features-grid { flex-direction: column; gap: 18px; }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-highlights {
  background: #EAF4FB;
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 24px;
  box-shadow: 0 2px 10px rgba(0,24,51,.06);
}
.offer-highlights ul {
  gap: 8px;
}

.pricing-table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.pricing-table th, .pricing-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1.6px solid #EAF4FB;
  font-size: 1rem;
}
.pricing-table thead th {
  background: #003366;
  color: #fff;
  font-size: 1.09rem;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}
.pricing-table tbody tr:hover {
  background: #FFB30014;
  transition: background 0.16s;
}

/* ======================================================================
   FAQ, ACCORDIONS & QUICK LINKS
====================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #EAF4FB;
  border-left: 6px solid #FFB300;
  border-radius: 13px;
  padding: 20px 30px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,24,51,0.07);
  transition: box-shadow 0.17s, border-left 0.12s;
}
.faq-item h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #003366;
}
.faq-item p {
  color: #222;
  font-size: 1rem;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 5px 22px rgba(255,179,0,0.09);
  border-left: 6px solid #003366;
}
.quick-links h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  color: #003366;
}
.quick-links ul {
  gap: 10px;
}
.quick-links a {
  color: #FFB300;
  font-weight: 600;
  transition: color 0.2s;
}
.quick-links a:hover, .quick-links a:focus {
  color: #003366;
  text-decoration: underline;
}

/* ======================================================================
   CTA SECTION
====================================================================== */
.cta {
  background: #003366;
  color: #fff;
  border-radius: 0 0 32px 32px;
  padding-top: 44px;
  padding-bottom: 44px;
  margin-bottom: 0;
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta h2 {
  color: #FFB300;
}
.cta .cta-primary {
  margin-top: 18px;
  background: #FFB300;
  color: #003366;
}

/* ======================================================================
   FOOTER
====================================================================== */
footer {
  background: #fff;
  color: #003366;
  padding: 30px 0;
  font-size: 0.95rem;
  border-top: 3.5px solid #003366;
  box-shadow: 0 -2px 8px rgba(0,24,51,.03);
  margin-top: 32px;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #003366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  transition: color 0.14s;
  padding: 3px 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB300;
  text-decoration: underline;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 310px;
  min-width: 170px;
}
.footer-branding img {
  width: 88px;
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .footer-cols {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-branding img {
    width: 64px;
  }
  .footer-branding, .footer-nav nav {
    max-width: 100%;
  }
}

/* ======================================================================
   MAP SNIPPET, CONTACT, ADDITIONALS
====================================================================== */
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #003366;
  font-size: 1rem;
}
.text-section img {
  width: 20px;
  height: 20px;
}
.map-snippet {
  background: #EAF4FB;
  padding: 13px 18px;
  border-radius: 8px;
  color: #003366;
  margin-top: 16px;
}

/* ======================================================================
   COOKIES CONSENT BANNER & COOKIE MODAL
====================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid #FFB300;
  padding: 24px 14px 18px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 18px rgba(0,24,51,.06);
  z-index: 300;
  animation: cookieBannerIn 0.65s cubic-bezier(.7,.13,.13,.84);
}
@keyframes cookieBannerIn {
  from { transform: translateY(96px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__txt {
  color: #222;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  flex: 2 1 160px;
  margin-right: 20px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  flex: 1 1 120px;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.22s;
}
.cookie-btn.accept {
  background: #FFB300;
  color: #003366;
  box-shadow: 0 2px 14px rgba(255,179,0,0.13);
  border: 2px solid #FFB300;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #003366;
  color: #FFB300;
  border-color: #003366;
}
.cookie-btn.reject {
  background: #fff;
  color: #003366;
  border: 2px solid #003366;
  box-shadow: 0 2px 10px rgba(0,51,102,0.06);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #003366;
  color: #FFB300;
}
.cookie-btn.settings {
  background: #EAF4FB;
  color: #003366;
  border: 2px solid #EAF4FB;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFB300;
  color: #003366;
  border-color: #FFB300;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .cookie-banner__txt {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 301;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,24,51,.50);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility .25s, opacity .22s;
}
.cookie-modal-backdrop.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  width: 94vw;
  max-width: 380px;
  padding: 34px 28px 30px 28px;
  box-shadow: 0 7px 44px rgba(0,51,102,0.14);
  z-index: 302;
  position: relative;
  animation: cookieModalIn 0.33s cubic-bezier(.7,.15,.18,.88);
}
@keyframes cookieModalIn {
  from { transform: scale(.95) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #003366;
  font-size: 1.19rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
  font-size: 1.02rem;
  color: #222;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: #FFB300;
}
.cookie-category label {
  font-weight: 600;
  color: #003366;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #ccc; opacity: .7;
}
.cookie-modal__buttons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: #003366;
  font-size: 2rem;
  position: absolute;
  top: 8px;
  right: 15px;
  cursor: pointer;
  opacity: .72;
  transition: color 0.15s, opacity 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  opacity: 1;
  color: #FFB300;
}

/* ======================================================================
   RESPONSIVE ADAPTIONS
====================================================================== */
@media (max-width: 720px) {
  .container { padding: 0 7px; }
  .card, .feature { min-width: 94vw; max-width: 100vw; }
  .testimonials .content-wrapper, .features-grid {
    gap: 13px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .footer-branding img { width: 44px; }
  .cookie-modal { padding: 18px 7px; }
}

/* ======================================================================
   UTILITY & MISC
====================================================================== */
hr {
  border: none;
  border-top: 2px solid #EAF4FB;
  margin: 32px 0;
}
::-webkit-input-placeholder { color: #676c77; }  /* Chrome/Opera/Safari */
::-moz-placeholder { color: #676c77; }           /* Firefox 19+ */
:-ms-input-placeholder { color: #676c77; }       /* IE 10+ */
::placeholder { color: #676c77; opacity:1; }

/* Card pattern for .feature-item - e.g., for future expansion */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 13px;
  border: 2px solid #EAF4FB;
  box-shadow: 0 3px 12px rgba(0,24,51,0.07);
  padding: 20px 16px;
  margin-bottom: 20px;
  min-width: 180px;
  max-width: 320px;
  transition: box-shadow 0.15s, border 0.13s, transform 0.13s;
}
.feature-item:hover, .feature-item:focus-within {
  border: 2px solid #FFB300;
  box-shadow: 0 7px 26px rgba(255,179,0,0.10);
  transform: translateY(-2px) scale(1.016);
}

/* Accessibility: Focus outline for tab navigation */
:focus-visible {
  outline: 2.5px solid #FFB300;
  outline-offset: 2px;
}

/* Smooth focus for all buttons and navigation */
button:focus, a:focus {
  outline: 2px solid #FFB300;
}

/* Misc tweaks */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border: 2px solid #EAF4FB;
  border-radius: 7px;
  background: #fff;
  color: #003366;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #FFB300;
}

/* Hide unnecessary scroll on modal open */
body.modal-open { overflow: hidden; }
