/* 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F7FAFC;
  color: #1B2736;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
}
a {
  color: #08387B;
  text-decoration: none;
  transition: color 0.2s;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}


/* FONT IMPORT ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY SCALE ----------------------------------------------------- */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #08387B;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #08387B;
  margin-bottom: 14px;
  line-height: 1.25;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1B2736;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1B2736;
}
p, li, div, span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1B2736;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* SPACING PATTERNS ----------------------------------------------------- */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.accent-bg {
  background: #E6F0F9;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(8,56,123,0.07);
  padding: 32px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.card:hover,
.feature-card:hover,
.service-card:hover,
.resource-card:hover,
.post-card:hover {
  box-shadow: 0 8px 28px rgba(8,56,123,0.14);
  transform: translateY(-4px) scale(1.01);
}
.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;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(8,56,123,0.11);
  padding: 20px 28px;
  margin-bottom: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.23s, transform 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(8,56,123,.18);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-content p {
  color: #09305C;
  font-size: 1.08em;
  font-weight: 500;
}
.testimonial-name {
  display: block;
  font-weight: bold;
  color: #08387B;
  margin-top: 8px;
  margin-bottom: 2px;
  letter-spacing: .04em;
}
.star-rating {
  color: #35A7DF;
  font-size: 1.05em;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(8,56,123,0.09);
  padding: 28px 18px 28px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.22s, transform 0.22s;
}

/* HERO ----------------------------------------------------------- */
.hero-section {
  background: #08387B url('../assets/hero-bg-wave.svg') bottom right no-repeat;
  color: #fff;
  padding: 64px 0 56px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.8rem;
}
.hero-section p {
  color: #E6F0F9;
  font-size: 1.18rem;
  max-width: 480px;
  margin-bottom: 30px;
}

/* BUTTONS & INTERACTIONS ------------------------------------------ */
.cta-button,
button,
input[type="submit"],
.mobile-menu-toggle,
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  background: #35A7DF;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 12px 28px;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(8,56,123,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s, transform 0.18s;
  outline: none;
  letter-spacing: 0.02em;
  display: inline-block;
}
.cta-button:hover,
button:hover,
input[type="submit"]:hover,
.mobile-menu-toggle:hover,
.cookie-banner button:hover {
  background: #08387B;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(8,56,123,0.16);
}
.cta-button:focus {
  outline: 2px solid #35A7DF;
  outline-offset: 1px;
}

/* PRICING TAGS ------------------------------------- */
.service-price,
.feature-card .service-price,
.service-card strong {
  color: #35A7DF;
  font-weight: 700;
  font-size: 1.09em;
  margin-top: auto;
  margin-bottom: 0;
}

/* NAVIGATION & HEADER ------------------------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid #E6F0F9;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  height: 70px;
  min-height: 70px;
}
.logo,
.logo-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.main-nav > ul li a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #08387B;
  padding: 7px 12px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.main-nav > ul li a:hover,
.main-nav > ul li a.active {
  background: #E6F0F9;
  color: #35A7DF;
}
.main-nav .cta-button {
  margin-left: 18px;
  padding: 11px 26px;
  box-shadow: 0 2px 8px rgba(53,167,223,0.16);
}
.main-nav .cta-button:hover {
  background: #08387B;
}

/* MOBILE MENU -------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 14px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  background: none;
  color: #08387B;
  border: none;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  z-index: 222;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  background: #E6F0F9;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(8,56,123,0.96);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 36px 18px 18px 32px;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.33s cubic-bezier(.77,0,.18,1), opacity 0.24s;
  z-index: 2000;
  min-width: 250px;
  width: 100%;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  margin-bottom: 24px;
  margin-right: 4px;
  border-radius: 6px;
  padding: 0 3px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #35A7DF;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
  margin-left: auto;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 500;
  background: none;
  padding: 10px 0;
  border-radius: 0;
  width: 100%;
  text-align: right;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover {
  color: #35A7DF;
  background: none;
}

/* SHOW/HIDE MOBILE MENU BUTTON */
@media (max-width: 980px) {
  .main-nav > ul { display: none; }
  .main-nav .cta-button { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
    pointer-events: none;
  }
}

/* --- MAIN SECTIONS AND UTILITIES -------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(8,56,123,0.11);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.service-card img {
  height: 48px;
  width: 48px;
  margin-bottom: 4px;
}
.service-card strong {
  margin-top: auto;
}
.case-study-list,
.faq-list,
.posts-preview,
.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.case-study-item,
.faq-item,
.post-card,
.resource-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(8,56,123,0.09);
  padding: 24px 18px;
  min-width: 230px;
  max-width: 410px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.case-study-item:hover,
.faq-item:hover,
.post-card:hover,
.resource-card:hover {
  box-shadow: 0 5px 20px rgba(8,56,123,0.14);
  transform: translateY(-2px) scale(1.01);
}
.post-link,
.resource-link {
  display: inline-block;
  color: #08387B;
  font-weight: 600;
  margin-top: 12px;
  transition: color 0.17s, text-decoration 0.16s;
  text-decoration: underline;
}
.post-link:hover,
.resource-link:hover {
  color: #35A7DF;
  text-decoration: none;
}

/* FAQ Accordion Styles ----------------------------------------- */
.faq-section .faq-list {
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  cursor: pointer;
  border-left: 4px solid #35A7DF;
  padding-left: 16px;
  background: #E6F0F9;
}
.faq-item h3 {
  margin-bottom: 4px;
}

/* FOOTER STYLES ------------------------------------------------------- */
footer {
  background: #FFF;
  color: #08387B;
  box-shadow: 0 -2px 12px rgba(8,56,123,0.04);
  padding-top: 46px;
  padding-bottom: 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 30px 22px 30px;
}
.footer-main .logo-footer img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #1B2736;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color 0.17s;
}
.footer-nav a:hover {
  color: #35A7DF;
}
.footer-contact {
  min-width: 230px;
}
.footer-contact p {
  color: #46556B;
  margin-bottom: 6px;
  font-size: 0.99em;
}
.footer-bottom {
  border-top: 1px solid #E6F0F9;
  text-align: center;
  padding: 16px 0 10px 0;
  color: #999;
  font-size: 0.97em;
  background: #F7FAFC;
}

/* COOKIE CONSENT BANNER ----------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff;
  border-top: 2px solid #35A7DF;
  box-shadow: 0 -2px 16px rgba(8,56,123,0.07);
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 28px;
  font-size: 1rem;
  transition: transform 0.42s cubic-bezier(.84,0,.16,1);
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner p {
  margin: 0 0 2px 0;
  color: #1B2736;
  max-width: 620px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  background: #35A7DF;
  color: #fff;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  margin: 0;
}
.cookie-banner button.reject {
  background: #E6F0F9;
  color: #08387B;
  border: 1.2px solid #35A7DF;
}
.cookie-banner button.reject:hover {
  background: #08387B;
  color: #fff;
}
.cookie-banner button.settings {
  background: #fff;
  color: #08387B;
  border: 1.2px solid #35A7DF;
}
.cookie-banner button.settings:hover {
  background: #35A7DF;
  color: #fff;
}

/* COOKIE PREF MODAL --------------------------------------------------- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(8, 56, 123, 0.06);
  z-index: 4100;
  justify-content: center;
  align-items: center;
}
.cookie-modal.active {
  display: flex;
  animation: fadeIn 0.34s cubic-bezier(.72,0,.22,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 4px 40px rgba(8,56,123,0.14);
  padding: 38px 22px 32px 22px;
  max-width: 420px;
  min-width: 280px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalIn 0.32s cubic-bezier(.77,0,.23,1);
}
@keyframes modalIn {
  from { transform: translateY(90px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-inner h3 {
  font-size: 1.3em;
  color: #08387B;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E6F0F9;
  border-radius: 7px;
  margin-bottom: 8px;
  padding: 14px 9px 14px 14px;
  font-size: 0.99rem;
}
.cookie-category.essential label {
  color: #1B2736;
  font-weight: 700;
}
.cookie-category input[type=checkbox] {
  accent-color: #35A7DF;
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal button {
  font-family: 'Montserrat', sans-serif;
  padding: 9px 22px;
  border-radius: 6px;
}

/* RESOURCES/BLOG CARDS --------------------------------------- */
.posts-preview,
.resource-list {
  flex-wrap: wrap;
  gap: 22px;
}
.post-card,
.resource-card {
  min-width: 220px;
  max-width: 380px;
  padding: 22px 16px;
  border-radius: 10px;
  border: 1px solid #E6F0F9;
  background: #fff;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card h2, .resource-card h3 {
  font-size: 1.24em;
  color: #08387B;
  margin-bottom: 2px;
}

/* FORMS (Contact/template) ----------------------------------- */
input, textarea {
  font-family: 'Roboto', 'Montserrat', sans-serif;
  font-size: 1rem;
  border: 1.4px solid #E6F0F9;
  background: #fff;
  padding: 10px 12px;
  border-radius: 7px;
  margin-bottom: 8px;
  outline: none;
  width: 100%;
  transition: border 0.12s;
}
input:focus, textarea:focus {
  border: 1.4px solid #35A7DF;
}
label {
  font-size: 0.99em;
  font-weight: 500;
  margin-bottom: 3px;
}

/* SECTION COLORS (policy, legal, confirmation, etc) ----------- */
.privacy-policy-section,
.gdpr-section,
.cookies-policy-section,
.terms-section,
.confirmation-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 10px rgba(8,56,123,0.07);
  margin: 40px auto 40px auto;
  max-width: 900px;
}

/* ACCENT & UTILITY CLASSES ------------------------------------ */
.accent {
  color: #35A7DF;
}
.accent-bg {
  background: #E6F0F9;
}

/* RESPONSIVE DESIGN ----------------------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 980px) {
  .main-nav { padding: 0 14px; }
  .footer-main { gap: 22px; padding: 0 10px 17px 10px; }
}
@media (max-width: 870px) {
  .footer-main { flex-direction: column; align-items: flex-start; gap: 13px; }
  .footer-nav { flex-direction: row; gap: 18px; margin: 8px 0; }
}
@media (max-width: 760px) {
  .section, section { padding: 28px 7px; margin-bottom: 32px; }
  .content-wrapper { gap: 12px; }
  .feature-grid, .service-list, .case-study-list, .posts-preview, .resource-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card, .feature-card, .service-card, .case-study-item, .faq-item, .post-card, .resource-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 18px 8px;
  }
  .footer-main { flex-direction: column; gap: 18px; padding: 10px 3vw 13px 3vw; }
  .footer-nav { flex-direction: column; gap: 10px; }
  .cookie-banner { flex-direction: column; gap: 18px; padding: 16px 8px; }
  .cookie-banner .cookie-actions { gap: 10px; }
}
@media (max-width: 620px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .main-nav { height: 54px; min-height: 54px; }
  .hero-section { padding: 41px 0 32px 0; }
}
@media (max-width: 500px) {
  .cookie-modal-inner { min-width: 98vw; padding: 20px 4vw; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}

/* VISUAL HIERARCHY & MICRO-INTERACTIONS ----------------------- */
.card, .feature-card, .service-card, .case-study-item, .faq-item, .testimonial-card, .post-card, .resource-card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature-card:hover, .service-card:hover, .case-study-item:hover, .faq-item:hover, .testimonial-card:hover, .post-card:hover, .resource-card:hover {
  box-shadow: 0 10px 24px rgba(8,56,123,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* Z-INDEX LAYERING for header, overlays, modals, menus ------- */
header { z-index: 90; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 4000; }
.cookie-modal { z-index: 4100; }

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