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

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #E5F4FB 0%, #ffffff 100%);
  color: #044D73;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
  border: 0;
}
a {
  color: #044D73;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #FFCA2C;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.25rem;
}
strong, b {
  font-weight: bold;
}
p {
  margin-bottom: 1.25em;
}

/* LAYOUT & CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(4,77,115,.03),0 1.5px 5px 0 rgba(4,77,115,.02);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(4,77,115,.04);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  transition: box-shadow .25s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(4,77,115,.10);
}
.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: 20px;
  background: #f7fafc;
  color: #174262;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(4,77,115,0.08);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAV */
header {
  background: linear-gradient(120deg, #fff 60%, #E5F4FB 100%);
  box-shadow: 0 2px 8px 0 rgba(4,77,115,.04);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #044D73;
  font-weight: 500;
  padding: 8px 8px;
  border-radius: 4px;
  transition: background .16s, color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #E5F4FB;
  color: #044D73;
  outline: none;
}
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #044D73 75%, #1b74aa 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 11px 34px;
  border-radius: 32px;
  box-shadow: 0 2px 8px rgba(4,77,115,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform .13s;
  outline: none;
  margin-left: 8px;
}
.cta-btn:active {
  transform: scale(0.97);
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #1b74aa 55%, #044D73 100%);
  box-shadow: 0 4px 16px rgba(4,77,115,0.16);
}

.secondary-btn {
  background: #FFCA2C;
  color: #044D73;
  font-weight: 700;
  box-shadow: 0 1.5px 5px rgba(255,202,44,.09);
  transition: background .18s, color .18s, box-shadow .22s;
}
.secondary-btn:hover,
.secondary-btn:focus {
  background: #ffd966;
  color: #044D73;
  box-shadow: 0 4px 16px rgba(255,202,44,.21);
}

/* BLOG GRID */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.blog-post-grid article {
  background: #fff;
  box-shadow: 0 2px 10px rgba(4,77,115,0.06);
  border-radius: 16px;
  padding: 24px 18px 26px 18px;
  flex: 1 1 290px;
  min-width: 240px;
  transition: box-shadow .19s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.blog-post-grid article h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.blog-post-grid article:hover {
  box-shadow: 0 8px 24px rgba(4,77,115,.10);
}
.featured-article {
  background: linear-gradient(80deg, #eaf6fd 80%, #fff 100%);
  border-radius: 18px;
  box-shadow: 0 1.5px 10px rgba(4,77,115,.05);
  margin: 4px 0 18px 0;
  padding: 22px 30px 14px 30px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #f7fafc;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(4,77,115,0.06);
  padding: 22px 16px;
}
.faq-item h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  color: #044D73;
  font-family: 'Montserrat',sans-serif;
}
.faq-item p {
  color: #2b5c82;
  margin: 0;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: #fafcfd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(4,77,115,.04);
  font-family: 'Roboto', Arial, sans-serif;
}
thead {
  background: #E5F4FB;
}
th, td {
  padding: 13px 8px;
  text-align: left;
  border-bottom: 1px solid #e5eef5;
}
th {
  font-family: 'Montserrat',sans-serif;
  font-weight: 700;
  color: #044D73;
  font-size: 1rem;
}
tbody tr:last-of-type td {
  border-bottom: none;
}

/* BUTTONS GENERIC */
button, .cta-btn, .secondary-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
  border: none;
  outline: none;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #e5f4fb 90%, #fff 100%);
  padding: 32px 0 0 0;
  margin-top: 60px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -2px 8px rgba(4,77,115,0.04);
}
.footer-brand {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #044D73;
  font-size: 1rem;
}
.footer-nav a:hover {
  color: #FFCA2C;
}
.footer-contact {
  font-size: 0.97rem;
  color: #155d7b;
  line-height: 1.8;
  margin-top: 8px;
}
.footer-contact img {
  margin-right: 6px;
  vertical-align: middle;
  height: 1.05em;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, #e6f0fa 80%, #fff 100%);
  color: #044D73;
  padding: 18px 18px 18px 24px;
  box-shadow: 0 -2px 16px rgba(4,77,115,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1900;
  animation: slideUpBanner .4s cubic-bezier(0.5,1,0.6,1);
}
@keyframes slideUpBanner {
  from{transform: translateY(100%);opacity:0;} to{transform: translateY(0);opacity:1;}
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 30px;
  background: #044D73;
  color: #fff;
  padding: 9px 28px;
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 3px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #1b74aa;
}
.cookie-btn.secondary {
  background: #ffca2c;
  color: #044D73;
  box-shadow: 0 1.5px 5px rgba(255,202,44,.06);
}
.cookie-btn.secondary:hover {
  background: #ffd966;
  color: #044D73;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(4,77,115,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1950;
  animation: fadeInCookieModal .3s cubic-bezier(0.6, 0.05, 0.1, 1);
}
@keyframes fadeInCookieModal {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  color: #044D73;
  border-radius: 18px;
  padding: 34px 23px 28px 23px;
  min-width: 310px;
  max-width: 94vw;
  box-shadow: 0 8px 36px 0 rgba(4,77,115,.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popIn .28s cubic-bezier(0.5,1,0.6,1);
}
@keyframes popIn {
  from {transform: scale(0.98);opacity: 0;} to {transform: scale(1); opacity:1;}
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
  margin-bottom: 15px;
  color: #044D73;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-size: 0.97rem;
  font-family: 'Roboto',sans-serif;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #E5F4FB;
  border-radius: 13px;
  position: relative;
  transition: background 0.2s;
  margin-right: 8px;
}
.cookie-toggle input[type="checkbox"] {
  width: 0;
  height: 0;
  opacity: 0;
}
.cookie-toggle-span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #044D73;
  border-radius: 100%;
  transition: left .19s, background .22s;
}
.cookie-toggle input:checked + .cookie-toggle-span {
  left: 22px;
  background: #FFCA2C;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #044D73;
  cursor: pointer;
  z-index: 1999;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  position: fixed;
  top: 16px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #044D73;
  color: #fff;
  font-size: 2rem;
  border: none;
  z-index: 3200;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .18s, box-shadow .18s, color .15s;
  box-shadow: 0 4px 18px rgba(4,77,115,0.15);
}
.mobile-menu-toggle:active {
  background: #1b74aa;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 4000;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -8px 0 40px 0 rgba(4,77,115,0.13);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #044D73;
  font-size: 2.2rem;
  margin: 23px 23px 0 0;
  cursor: pointer;
  z-index: 4200;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color: #FFCA2C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 38px;
  padding-left: 34px;
  padding-right: 34px;
}
.mobile-nav a {
  color: #044D73;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.19rem;
  font-weight: 500;
  padding: 11px 0;
  border-radius: 8px;
  border-bottom: 1px solid #E5F4FB;
  transition: background .19s, color .18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E5F4FB;
  color: #044D73;
  outline: none;
}

/* CONTACT & INFO SECTIONS */
.text-section {
  margin-bottom: 18px;
}
.contact-info {
  margin: 13px 0 8px 0;
}
.contact-info ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Roboto',sans-serif;
  font-size: 1.06rem;
  color: #044D73;
}
.contact-info img {
  height: 1.1em;
  vertical-align: middle;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 990px) {
  .main-nav {
    gap: 9px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
    min-height: 60px;
    padding: 12px 0;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 7px;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 24px 7px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid, .blog-post-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-brand {
    margin-bottom: 9px;
    font-size: 1rem;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .footer-nav {
    gap: 7px;
    font-size: 0.97rem;
  }
  .blog-post-grid article {
    min-width: 0;
  }
  .featured-article {
    padding: 16px 7px 10px 7px;
  }
  .faq-item {
    padding: 16px 10px;
  }
  .testimonial-card {
    padding: 12px 8px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    position: fixed;
    top: 10px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
  header .main-nav,
  .main-nav,
  header .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.53rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.18rem;
    margin-bottom: 9px;
  }
  .section {
    margin-bottom: 23px;
    padding: 12px 2px;
  }
}

/* GENERAL MICRO-INTERACTIONS */
.card, .blog-post-grid article, .testimonial-card, .faq-item, .cta-btn, .secondary-btn, .cookie-btn {
  transition: box-shadow .22s, transform .11s, background .17s, color .16s;
}
.card:active, .blog-post-grid article:active {
  transform: scale(0.99);
}

/* Z-INDEXES */
header { z-index: 100; position: relative; }
.mobile-menu { z-index: 5000; }

/* MISC */
::-webkit-scrollbar {
  width: 9px;
  background: #E5F4FB;
}
::-webkit-scrollbar-thumb {
  background: #baddf0;
  border-radius: 8px;
}

/* ENSURE NO OVERLAP IN CARDS */
.card, .testimonial-card, .blog-post-grid article, .faq-item {
  margin-bottom: 20px;
}

/* Hide mobile menu button on desktop */
@media (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
  .main-nav, header .cta-btn {
    display: flex !important;
  }
}

/* UTILITIES FOR VISUALS & ACCESSIBILITY */
.sr-only {
  position: absolute;
  left: -999em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
