/* CSS RESET & NORMALIZATION */
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.55;
  background: #F6F7F9;
  color: #1D2327;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
a {
  color: #003366;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD600;
  text-decoration: underline;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button, .cta-btn {
  cursor: pointer;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: #003366;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
p, li, .text-section p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #262D34;
  margin-bottom: 14px;
  font-size: 1rem;
}
strong { font-weight: 700; }

/* STRUCTURE & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,29,54,0.05);
  padding: 40px 26px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,29,54,0.05);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  transition: box-shadow 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 4px 18px rgba(0,29,54,0.12);
  z-index: 2;
}

.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: 12px;
  background: #FAFAFA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,29,54,0.03);
  padding: 24px 20px;
  min-width: 250px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 4px 14px rgba(0,29,54,0.10);
  transform: translateY(-2px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,29,54,0.06);
  padding: 24px 16px;
  min-width: 220px;
  max-width: 330px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, border 0.2s;
}
.feature-item:hover {
  box-shadow: 0 6px 19px rgba(0,29,54,0.10);
  border-color: #FFD600;
}
.feature-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 6px;
  object-fit: contain;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0;
}

.cta-banner {
  background: #003366;
  border-radius: 18px;
  color: #fff;
  text-align: center;
  box-shadow: 0 3px 20px rgba(0,29,54,0.07);
  padding: 44px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-banner h2 {
  color: #FFD600;
  font-size: 2.1rem;
  margin-bottom: 22px;
}

/* PRIMARY BUTTONS & CTA */
.cta-btn {
  background: #FFD600;
  color: #003366;
  border-radius: 10px;
  padding: 12px 34px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: 0 1px 6px rgba(0,29,54,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.2s;
  margin-top: 10px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #003366;
  color: #FFD600;
  box-shadow: 0 4px 18px rgba(0,29,54,0.20);
  transform: translateY(-2px) scale(1.03);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(124deg, #F6F7F9 80%, #fff 100%);
  padding: 60px 0 30px 0;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
}
.hero h1 {
  color: #003366;
  font-size: 2.6rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.17rem;
  margin-bottom: 26px;
}

/* LISTS & TABLES */
ul.services-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
ul.features-list, ul.step-list, ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
ul.features-list li::before {
  content: '\2022';
  color: #FFD600;
  display: inline-block;
  width: 18px;
  margin-left: -18px;
}

.table-container,
table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,29,54,0.04);
  margin-bottom: 28px;
}
thead {
  background: #F4F4F8;
}
thead th {
  padding: 18px 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #003366;
  font-size: 1.12rem;
  text-align: left;
}
tbody td {
  padding: 14px 14px;
  border-bottom: 1px solid #EFEFEF;
  font-size: 1rem;
}
tbody tr:last-child td { border-bottom: none; }
td, th { vertical-align: top; }


/* BLOG LIST & POSTS */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.blog-post {
  background: #F3F6F7;
  border-radius: 10px;
  padding: 24px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px rgba(0,29,54,0.03);
  transition: box-shadow 0.19s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-post:hover {
  box-shadow: 0 5px 18px rgba(0,29,54,0.10);
}
.blog-post h3 {
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
}
.blog-post p {
  margin-bottom: 8px;
  font-size: 1rem;
}
.blog-post a {
  font-weight: 700;
  color: #003366;
  text-decoration: underline;
  transition: color 0.17s;
}
.blog-post a:hover {
  color: #FFD600;
}

.blog-categories {
  margin-top: 10px;
  font-size: 1rem;
}
.blog-categories span {
  background: #F4F4F7;
  border-radius: 7px;
  padding: 3px 11px;
  margin-right: 6px;
  color: #003366;
  font-weight: 500;
}

/* NEWSLETTER FORM */
form {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
input[type="email"],
input[type="text"],
input[type="password"],
textarea {
  border: 1px solid #D7D9DC;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 1rem;
  width: 220px;
  max-width: 100%;
  background: #F9F9FB;
  margin-right: 0;
  transition: border-color 0.14s, box-shadow 0.16s;
}
input:focus, textarea:focus {
  border-color: #003366;
  box-shadow: 0 0 7px #FFD60033;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 3px;
  display: block;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #F4F5F8;
  border-radius: 12px;
  padding: 24px;
  color: #003366;
  text-align: center;
  margin: 16px 0;
  font-size: 1.05rem;
  border: 1px dashed #CED9E2;
}

/* TESTIMONIALS GRID */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.quote {
  color: #003366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.stars {
  font-size: 1.23rem;
  color: #FFD600;
  margin-bottom: 4px;
}
.author {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #222C38;
  margin-top: 3px;
  font-style: italic;
  font-weight: 500;
}

/* SERVICE ITEM CARDS */
.service-item {
  background: #F7F8FB;
  border-radius: 10px;
  padding: 18px 12px 18px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(0,29,54,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price {
  font-size: 1.06rem;
  font-weight: 600;
  color: #003366;
  letter-spacing: 0.1em;
  margin-top: 3px;
}

/* FOOTER STYLES */
footer {
  background: #fff;
  border-top: 2px solid #F0F1F6;
  padding: 40px 0 22px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.footer-nav, .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a, .footer-links a {
  color: #003366;
  opacity: 0.82;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-links a:hover {
  color: #FFD600;
  opacity: 1;
}
.footer-logo {
  margin: 14px 0 6px 0;
}
.contact-snippet {
  font-size: 1rem;
  color: #1D2327;
  text-align: center;
  margin-bottom: 6px;
}
.contact-snippet address {font-style: normal; margin-bottom: 2px;}
.legal {
  font-size: 0.95rem;
  color: #B5B9BE;
  text-align: center;
  margin-top: 14px;
}

/* MAIN NAVIGATION */
header {
  background: #FFFFFF;
  box-shadow: 0 1px 13px rgba(0,29,54,0.12);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 299;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  padding: 18px 0;
}
.main-nav .cta-btn {
  margin-left: 16px;
  margin-top: 0;
}
.logo-link img {
  height: 42px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
  margin-left: 0;
  display: inline-block;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: #FFD600;
  border: none;
  border-radius: 7px;
  font-size: 2rem;
  color: #003366;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 26px;
  top: 10px;
  z-index: 403;
  box-shadow: 0 2px 6px rgba(0,29,54,0.11);
  transition: background 0.14s, box-shadow 0.14s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #003366;
  color: #FFD600;
  outline: none;
}

/* MOBILE SLIDE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 44, 64, 0.89);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  z-index: 920;
  transition: opacity 0.32s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav.mobile-nav {
  background: #fff;
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  box-shadow: 0 0 40px #00336629;
  min-width: 72vw;
  max-width: 95vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 34px 32px 20px 32px;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.85,-0.01,.69,.98);
}
.mobile-menu.open nav.mobile-nav {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: #F6F7F9;
  border: none;
  border-radius: 16px;
  color: #003366;
  font-size: 2.4rem;
  padding: 0 18px;
  cursor: pointer;
  margin: 18px 32px 0 0;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD600;
  color: #003366;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}
.mobile-nav a {
  padding: 13px 0;
  font-size: 1.23rem;
  width: 100%;
  color: #003366;
  border-bottom: 1px solid #EFF1F4;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F2F4F6;
  color: #FFD600;
}

/* COOKIES CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #00264D;
  color: #fff;
  padding: 22px 16px 19px 16px;
  box-shadow: 0 -2px 20px rgba(0,29,54,0.13);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: banner-slide-in 0.32s cubic-bezier(.81,.12,.8,.88);
}
.cookie-consent-banner p {
  color: #fff;
  font-size: 1.02rem;
  text-align: center;
  max-width: 660px;
}
.cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 3px;
}
.cookie-consent-btn, .cookie-settings-btn, .cookie-reject-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  border: none;
  outline: none;
  padding: 8px 28px;
  margin-top: 0;
  box-shadow: 0 1px 4px rgba(0,29,54,0.10);
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.18s;
}
.cookie-consent-btn {
  background: #FFD600;
  color: #003366;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: #003366;
  color: #FFD600;
  box-shadow: 0 4px 18px rgba(0,29,54,0.18);
}
.cookie-settings-btn {
  background: #f3f6f9;
  color: #003366;
  border: 1px solid #D9DADC;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #003366;
  color: #FFD600;
}
.cookie-reject-btn {
  background: transparent;
  color: #FFD600;
  border: 1.5px solid #FFD600;
}
.cookie-reject-btn:hover, .cookie-reject-btn:focus {
  background: #FFD600;
  color: #003366;
}
@keyframes banner-slide-in {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* COOKIES SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(37,44,64,0.72);
  z-index: 10501;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  animation: fadein 0.19s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 11px 38px rgba(0,29,54,0.23);
  padding: 36px 30px 24px 30px;
  max-width: 420px;
  min-width: 316px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-popup 0.17s cubic-bezier(.53,1.52,.69,1.04);
}
@keyframes modal-popup {
  from { transform: scale(.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F7F8FA;
  border-radius: 7px;
  padding: 7px 12px;
}
.cookie-category input[type=checkbox] {
  accent-color: #FFD600;
  width: 18px;
  height: 18px;
}
.cookie-category.essential {
  font-weight: 700;
  color: #003366;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal-close {
  background: transparent;
  color: #003366;
  border: none;
  font-size: 1.7rem;
  position: absolute;
  right: 19px;
  top: 17px;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFD600;
}

/* RESPONSIVE DESIGN — MOBILE FIRST */
@media (max-width: 999px) {
  header .main-nav {
    gap: 18px;
    padding: 12px 0;
  }
  footer {
    padding: 36px 0 10px 0;
  }
  .cta-banner { padding: 32px 8px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; padding: 0 7vw; }
  .blog-list { gap: 18px; }
  .feature-grid { gap: 18px; }
  .testimonial-card { min-width: 180px; padding: 18px 9px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .content-wrapper { padding: 25px 7px; margin-bottom: 17px; border-radius: 14px; }
  .section { padding: 18px 3px; margin-bottom: 28px; }
  .feature-grid, .blog-list, .card-container, .testimonials {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-banner { padding: 20px 2px; border-radius: 10px; }
  .footer-nav, .footer-links {
    gap: 8px;
    font-size: 0.99rem;
  }
  .footer-logo img { height: 32px; }
}
@media (max-width: 590px) {
  h1 { font-size: 1.49rem; }
  h2 { font-size: 1.15rem; }
  .cta-banner h2 { font-size: 1.2rem; }
  .feature-item { min-width: 0; max-width: 100%; padding: 14px 7px; border-radius: 8px; }
  .service-item { min-width: 0; max-width: 100%; }
  .card { padding: 11px 6px; border-radius: 7px; }
  .card-container, .blog-list, .feature-grid {
    gap: 11px;
  }
  .footer-logo img { height: 22px; }
}

/* FINE TUNING, SPACING, AND WHITE SPACE */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 10px;
}
.card:not(:last-child), .feature-item:not(:last-child), .service-item:not(:last-child), .testimonial-card:not(:last-child){
  margin-bottom: 20px;
}

/* SCANDINAVIAN-CLEAN EFFECTS */
body, section, .content-wrapper, .card, .feature-item, .testimonial-card, .cta-banner {
  /* subtle white and light natural backgrounds */
  /* already applied in individual rules, keep high clarity */
}
.card, .feature-item, .testimonial-card, .service-item, .blog-post, .cta-banner {
  box-shadow: 0 2px 8px rgba(0,29,54,0.05);
  border-radius: 10px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .feature-item, .service-item, .testimonial-card, .blog-post, .cta-btn, .cookie-consent-btn, .cookie-settings-btn, .cookie-reject-btn {
  transition: box-shadow 0.18s, background 0.18s, color 0.17s, transform 0.13s, border-color 0.12s;
}
.card:hover, .feature-item:hover, .service-item:hover, .testimonial-card:hover, .blog-post:hover {
  box-shadow: 0 8px 28px rgba(0,29,54,0.17);
}

/* FOCUS STATES */
.cta-btn:focus, .cookie-consent-btn:focus, .cookie-settings-btn:focus, .cookie-reject-btn:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}
a:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}

/* SCROLLBAR FOR CLEAN DESIGN */
::-webkit-scrollbar {
  width: 9px; background: #F4F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CED9E2; border-radius: 12px;
}

/* PRINT - Only if you need! */
@media print {
  .main-nav, .mobile-menu-toggle, .footer-nav, .footer-links, .footer-logo, .cta-banner, .cookie-consent-banner, .cookie-modal { display: none !important; }
  body, .content-wrapper, .container { background: #fff !important; color:#000 !important; }
}

/* --- END OF STYLE.CSS --- */
