/*----------------------------------------------
  CSS RESET & BASELINE
-----------------------------------------------*/
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 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #F4F6FA;
  color: #2C3447;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
a {
  color: #2C3447;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:focus-visible {
  outline: 2px solid #6B9EB8;
  outline-offset: 2px;
}
strong, b {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1.5px solid #6B9EB8;
  margin: 24px 0;
}

/*----------------------------------------------
  TYPOGRAPHY
-----------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2C3447;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}
.text-section h1, .text-section h2, .text-section h3 {
  color: #195579;
  text-shadow: 1px 2px 0 #F4F6FA;
}
p, ul, ol, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2C3447;
  margin-bottom: 16px;
  line-height: 1.7;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 24px;
  padding-left: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li::before {
  content: '\2022';
  color: #6B9EB8;
  font-weight: bold;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.1em;
}
ol li::marker {
  color: #6B9EB8;
  font-weight: 600;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  background: #E2F0FA;
  border-left: 5px solid #6B9EB8;
  color: #195579;
  padding: 18px 20px;
  border-radius: 0 18px 18px 0;
  margin-bottom: 8px;
}
address {
  font-style: normal;
  color: #4370a8;
}

/*----------------------------------------------
  GLOBAL LAYOUT CONTAINERS
-----------------------------------------------*/
.container {
  width: 100%;
  max-width: 1164px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 32px 8px 28px 12px;
  box-shadow: 0 3px 24px 0 rgb(44 52 71 / 10%), 0 1.5px 6px 0 rgb(107 158 184 /6%);
  padding: 32px 22px;
  margin-bottom: 26px;
  position: relative;
}

.text-section {
  background: linear-gradient(90deg, #fff 65%, #E2F0FA 100%);
}

/* Artistic header container face */
header {
  width: 100%;
  background: #E2F0FA;
  box-shadow: 0 2px 22px -10px #6B9EB8;
  display: flex;
  align-items: center;
  padding: 0 0;
  min-height: 72px;
  z-index: 40;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  margin: 0 24px 0 22px;
  height: 64px;
  transition: transform 0.2s cubic-bezier(.4,0,.2,1);
}
.logo img {
  height: 50px;
  aspect-ratio: 1 / 1;
}
.logo:hover {
  transform: scale(1.055) rotate(-4deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 10px;
  flex: 1;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 12px 14px 10px;
  border-radius: 24px 4px 18px 8px;
  transition: background 0.18s, color 0.18s;
  color: #195579;
  position: relative;
}
.main-nav a:hover, .main-nav a:active {
  background: #6B9EB8;
  color: #fff;
}

.cta-btn.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #195579;
  color: #fff;
  font-size: 1.09rem;
  font-weight: 900;
  border: none;
  border-radius: 32px 6px 20px 12px;
  padding: 14px 36px 13px;
  margin: 0 12px 0 0;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 20px -8px #4370a8d6;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s;
  text-shadow: 0 2px 12px #6B9EB84c;
  position: relative;
  z-index: 5;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #378ac7;
  color: #fff;
  box-shadow: 0 7px 28px -3px #6B9EB899;
}

/* Section layout spacing and flex patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px 10px 24px 10px;
  box-shadow: 0 2px 12px 0 rgb(44 52 71 / 9%), 0 1.5px 6px 0 rgb(107 158 184 /7%);
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 22px 6px 20px 8px;
  box-shadow: 0 2px 12px 0 rgb(44 52 71 / 12%), 0 1.5px 6px 0 rgb(107 158 184 /8%);
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.015) rotate(-1.25deg);
  box-shadow: 0 6px 30px -4px #2C344799;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/*----------------------------------------------
  SPECIAL VISUAL/ARTISTIC ELEMENTS
-----------------------------------------------*/
section::before {
  content: '';
  display: block;
  position: absolute;
  left: -40px;
  top: 0px;
  width: 80px;
  height: 80px;
  z-index: 0;
  background: radial-gradient(circle at 30% 15%, #6B9EB8 0%, #E2F0FA 100% );
  opacity: 0.18;
  border-radius: 50%;
}
section .content-wrapper {
  position: relative;
  z-index: 1;
}

/* Artistic underline effect for h2 headings */
h2 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 5px;
  background: #6B9EB8;
  border-radius: 3px 8px 2px 7px;
  margin-top: 7px;
  opacity: 0.45;
}

/* Buttons */
button, .cta-btn, .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 28px 5px 18px 8px;
  padding: 13px 22px 11px;
  background: #6B9EB8;
  color: #fff;
  cursor: pointer;
  margin: 0 8px 0 0;
  box-shadow: 0 1.5px 12px 0 rgb(107 158 184 /12%);
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
button:hover, .cta-btn:hover, .cookie-btn:hover {
  background: #195579;
  color: #fff;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #6B9EB8;
}

/*----------------------------------------------
  MOBILE NAVIGATION STYLES
-----------------------------------------------*/
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #195579;
  font-size: 2rem;
  padding: 7px 17px 5px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 8px 0 #6B9EB844;
  margin: 0 14px;
  z-index: 999;
  transition: background 0.2s, color 0.17s;
  cursor: pointer;
}
.mobile-menu-toggle:hover {
  background: #6B9EB8;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 10000;
  background: #F4F6FA;
  box-shadow: 0 4px 62px 0 #2C3447b2;
  transform: translateX(-110vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.34s cubic-bezier(.77,.2,.15,.98), opacity 0.31s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #6B9EB8;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  margin: 22px 24px 10px 0;
  border: none;
  box-shadow: 0 1.5px 10px 0 #6B9EB855;
  padding: 7px 17px 5px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  align-items: flex-start;
  margin: 32px 0 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  padding: 18px 10px 16px 0;
  margin: 0 0 4px 0;
  color: #195579;
  background: none;
  width: 100%;
  border-radius: 0 10px 10px 0;
  transition: background 0.14s, color 0.14s;
  display: flex;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #6B9EB8;
  color: #fff;
}

/*----------------------------------------------
  FOOTER
-----------------------------------------------*/
footer {
  width: 100%;
  background: #2C3447;
  color: #F4F6FA;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 38px 0 19px 0;
  min-height: 160px;
  align-items: center;
  position:relative;
}
.footer-nav {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #F4F6FA;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: color 0.14s;
  border-radius: 12px;
  padding: 7px 15px 6px 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover {
  color: #6B9EB8;
  background: #F4F6FA;
}
.footer-contact {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #E2F0FA;
}
.footer-contact a {
  color: #6B9EB8;
  font-weight: 700;
  margin: 0 3px;
}
.footer-contact a:hover {
  text-decoration: underline;
  color: #F4F6FA;
}
.footer-logo img {
  height: 54px;
  margin-top: 9px;
}

/*----------------------------------------------
  TESTIMONIALS
-----------------------------------------------*/
.testimonial-card {
  background: #fff;
  color: #2C3447;
  border-left: 5px solid #6B9EB8;
  box-shadow: 0 3px 16px -6px #6B9EB899;
  padding: 20px 28px;
  border-radius: 22px 6px 20px 8px;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.18s;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  color: #195579;
  margin: 0 0 4px 0;
  padding: 0;
  font-size: 1.11rem;
}
.testimonial-card span {
  color: #2C3447;
  font-weight: 600;
  font-size: 0.96rem;
  margin-left: 10px;
}

/*----------------------------------------------
  RESPONSIVE MEDIA QUERIES (MOBILE-FIRST)
-----------------------------------------------*/
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 890px) {
  header {
    flex-wrap: wrap;
  }
  .logo { margin-right: 4px; }
  .main-nav { gap: 6px; }
}
@media (max-width: 820px) {
  .footer-nav, .footer-contact, .footer-logo {
    flex-direction: column;
    gap: 9px;
    margin-bottom: 6px;
    align-items: center;
  }
  .footer-nav {
    gap: 10px;
  }
  .footer-logo img {
    margin-top: 6px;
  }
  h1 { font-size: 1.55rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    max-width: 100vw;
    padding: 0 5px;
  }
  .content-wrapper {
    padding: 18px 7px 23px 7px;
    border-radius: 19px 4px 19px 7px;
  }
  .text-section {
    border-radius: 19px 8px 13px 17px;
    padding: 1px 2px; 
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 8px;
  }
  h1 { font-size: 1.23rem; }
  h2 { font-size: 1.11rem; }
  .testimonial-card {
    padding: 13px 13px 14px 19px;
    border-radius: 16px 9px 17px 7px;
  }
  .footer-nav {
    gap: 7px;
  }
  .card-container, .content-grid, .text-image-section, .feature-item {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .mobile-nav {
    margin-left: 12px;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/*----------------------------------------------
  FORM AND INPUTS
-----------------------------------------------*/
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 11px 13px;
  outline: none;
  border: 1.5px solid #CED8E7;
  margin-bottom: 12px;
  color: #2C3447;
  transition: border 0.13s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #6B9EB8;
}

label, legend {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  margin-bottom: 7px;
  display: block;
}

/*----------------------------------------------
  COOKIE CONSENT BANNER
-----------------------------------------------*/
.cookie-banner {
  position: fixed;
  z-index: 20000;
  left: 0;
  right: 0;
  bottom: 0;
  background: #2C3447;
  color: #F4F6FA;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  width: 100vw;
  box-shadow: 0 -3px 24px -3px #195579cc;
  padding: 23px 34px 18px 29px;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.75,.16,.42,1), opacity 0.16s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  margin: 0 12px 0 0;
  font-size: 1.03rem;
  flex: 0 1 auto;
}
.cookie-btn-accept-all {
  background: #6B9EB8;
  color: #fff;
}
.cookie-btn-reject-all {
  background: #fff;
  color: #195579;
  border: 1px solid #6B9EB8;
}
.cookie-btn-settings {
  background: #2C3447;
  color: #6B9EB8;
  border: 1.5px solid #6B9EB8;
}
.cookie-btn-accept-all:hover {
  background: #195579;
}
.cookie-btn-reject-all:hover {
  background: #6B9EB8;
  color: #fff;
}
.cookie-btn-settings:hover {
  background: #6B9EB8;
  color: #fff;
}
.cookie-btn {
  min-width: 110px;
  padding-right: 17px;
  padding-left: 17px;
  font-size: 1.01rem;
  margin-right: 9px;
  margin-bottom: 4px;
  display: inline-block;
  transition: background 0.17s, color 0.17s, border 0.17s;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 8px 10px 6px;
    font-size: 0.97rem;
    gap: 11px;
  }
  .cookie-btn {
    min-width: 80px;
    font-size: 0.97rem;
    padding: 8px 9px 6px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 30000;
  background: rgba(44,52,71, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 24px 14px 21px 7px;
  box-shadow: 0 2px 44px -6px #195579bb;
  padding: 34px 25px 26px 28px;
  max-width: 95vw;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: popScale .36s cubic-bezier(.61,-0.11,.67,1.09);
}
@keyframes popScale {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 19px;
  background: #6B9EB8;
  color: #fff;
  border-radius: 51%;
  font-size: 1.25rem;
  border: none;
  padding: 3px 12px 2px;
  box-shadow: 0 2px 8px -2px #6B9EB866;
  cursor: pointer;
}
.cookie-modal h2 {
  color: #195579;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 7px;
}
.cookie-category-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  color: #2C3447;
}
.cookie-category-toggle {
  margin-left: auto;
  margin-right: 7px;
  display: flex;
  align-items: center;
}
.cookie-switch {
  width: 40px;
  height: 20px;
  background: #CED8E7;
  border-radius: 14px;
  position: relative;
  transition: background 0.16s;
}
.cookie-switch[data-checked='true'] {
  background: #6B9EB8;
}
.cookie-switch-slider {
  position: absolute;
  top: 1px; left: 1px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s cubic-bezier(.71,.21,.62,1.18), background 0.19s;
  box-shadow: 0 1.5px 7px -1px #2C344775;
}
.cookie-switch[data-checked='true'] .cookie-switch-slider {
  left: 21px;
  background: #195579;
}
.cookie-category-desc {
  font-size: 0.97rem;
  color: #6B9EB8;
}

/*----------------------------------------------
  SCROLLBARS/STYLES/MICROANIMATION
-----------------------------------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #F4F6FA;
}
::-webkit-scrollbar-thumb {
  background: #CED8E7;
  border-radius: 7px;
}
body {
  scrollbar-color: #CED8E7 #F4F6FA;
  scrollbar-width: thin;
}

/*----------------------------------------------
  MICRO INTERACTIONS
-----------------------------------------------*/
.card:hover, .content-wrapper:hover {
  box-shadow: 0 4px 32px -3px #6B9EB899, 0 1.5px 14px 0 rgb(107 158 184 /11%);
  transform: scale(1.015) rotate(-0.5deg);
}
.cta-btn:active {
  background: #6B9EB8;
  color: #fff;
}

/*---------------------------------------------
  Z-INDEX MANAGEMENT
----------------------------------------------*/
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 9999;
}

/*---------------------------------------------
  MISC: ERROR PREVENTION
----------------------------------------------*/
.card, .content-wrapper, .testimonial-card, .feature-item, .footer-nav, .footer-contact, .footer-logo {
  margin-bottom: 20px !important;
}

/* Avoid overlapping, enforce minimum spacing */
.card, .content-wrapper, .section, .testimonial-card, .feature-item {
  min-width: 0;
  margin-bottom: 20px;
}

/*----------------------------------------------
  PRINT FRIENDLY
-----------------------------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  section, .container, .content-wrapper, .testimonial-card { box-shadow: none !important; background: #fff !important; color: #111 !important; }
}

/*----------------------------------------------/
  END OF FROSTY KNOWLEDGE CSS
-----------------------------------------------*/
