/* CSS RESET & BASE - Mobile First - Flex Only */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Arial', Helvetica, sans-serif;
  color: #16305C;
  background: #F2F3F7;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #16305C;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  color: #16305C;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 1px 2px 10px #78BBC065;
}
h2 {
  font-size: 1.5rem;
  color: #16305C;
  line-height: 1.28;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.17rem;
  color: #16305C;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  color: #78BBC0;
  font-weight: 700;
}
blockquote {
  margin: 0 0 12px 0;
  font-style: italic;
  color: #16305C;
  background: #F2F3F7;
  padding: 12px 18px;
  border-left: 4px solid #78BBC0;
  border-radius: 8px;
}

/****** LAYOUT CONTAINERS & SECTIONS ******/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 #16305C14;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0 0 0;
}

/****** HEADER & NAVIGATION ******/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 10px 0;
  background: #fff;
  z-index: 100;
  box-shadow: 0 2px 14px 0 #16305C08;
  position: sticky;
  top: 0;
  min-height: 52px;
}
header a img {
  height: 48px;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  color: #fff;
  background: #78BBC0;
}
.cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  padding: 12px 28px;
  background: #78BBC0;
  color: #16305C;
  border: none;
  border-radius: 30px;
  font-size: 1.07rem;
  box-shadow: 0 4px 22px 0 #78BBC044;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
  transition: background 0.18s, transform 0.10s, color 0.15s, box-shadow 0.17s;
  margin-left: 18px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #16305C;
  color: #F2F3F7;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 36px 0 #16305C24;
}

/****** MOBILE MENU ******/
.mobile-menu-toggle {
  display: flex;
  background: #78BBC0;
  color: #16305C;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  padding: 10px 13px;
  position: fixed;
  top: 24px;
  right: 16px;
  z-index: 205;
  cursor: pointer;
  box-shadow: 0 2px 12px #16305C29;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  outline: none;
}
.mobile-menu-toggle:active {
  background: #16305C;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: #16305C;
  color: #fff;
  box-shadow: -8px 0 32px #16305C90;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.5,.01,.33,1), opacity 0.22s;
  z-index: 250;
  opacity: 0;
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  padding: 21px 21px 16px 8px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #78BBC0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.14s, color 0.14s;
  margin-right: 32px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #78BBC0;
  color: #16305C;
  padding-left: 8px;
}

/****** MAIN CONTENT & FLEX LAYOUTS ******/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 28px #16305C18;
  margin-bottom: 20px;
  padding: 24px 18px;
  min-width: 260px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.card:hover, .card:focus-within {
  box-shadow: 0 14px 44px #16305C26;
  transform: translateY(-3px) scale(1.04);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F2F3F7;
  border-radius: 16px;
  box-shadow: 0 3px 20px #16305C11;
  margin-bottom: 24px;
  color: #16305C;
  font-size: 1.09rem;
  max-width: 540px;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.018em;
  color: #78BBC0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****** CARDS, BUTTONS & INTERACTIVE ELEMENTS ******/
button, .cta-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid #78BBC0;
  outline-offset: 2px;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: 2px solid #78BBC0;
  padding: 12px;
  border-radius: 9px;
  margin-bottom: 14px;
  width: 100%;
  background: #fff;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #16305C;
  outline: none;
}

/****** ICONS IN FEATURES/CONTACT ******/
ul li, .feature-item li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #16305C;
}
ul li b {
  color: #78BBC0;
  font-weight: 700;
}
ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/****** FOOTER ******/
footer {
  background: #16305C;
  color: #fff;
  padding: 30px 0 12px 0;
  margin-top: 70px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -4px 24px #16305C19;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
footer nav a {
  color: #78BBC0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #78BBC0;
  color: #16305C;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.98rem;
  opacity: 0.99;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-branding img {
  height: 38px;
  width: auto;
}

/****** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #16305C;
  color: #fff;
  padding: 24px 16px 14px 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -8px 32px #16305CE6;
  transition: transform 0.25s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner strong {
  color: #78BBC0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 23px;
  border-radius: 22px;
  border: none;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
  outline: none;
}
.cookie-banner .accept {
  background: #78BBC0;
  color: #16305C;
}
.cookie-banner .accept:hover { background: #fff; color: #16305C; }
.cookie-banner .reject {
  background: #fff;
  color: #16305C;
  border: 2px solid #78BBC0;
}
.cookie-banner .reject:hover { background: #78BBC0; color: #fff; }
.cookie-banner .settings {
  background: transparent;
  color: #78BBC0;
  border: 2px solid #78BBC0;
}
.cookie-banner .settings:hover { background: #78BBC0; color: #16305C; }

/**** COOKIE MODAL POPUP ****/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #16305CBF;
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  opacity: 1;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  color: #16305C;
  padding: 36px 24px;
  border-radius: 18px;
  width: 95%;
  max-width: 430px;
  box-shadow: 0 10px 50px #16305C2E;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 27px;
}
.cookie-modal-content h2 {
  font-size: 1.35rem;
  color: #78BBC0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #78BBC0;
  width: 19px;
  height: 19px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: transparent;
  border: none;
  color: #78BBC0;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #16305C;
}

/****** RESPONSIVE DESIGN - MOBILE FIRST ******/
@media (max-width: 1020px) {
  .container { max-width: 95vw; }
}
@media (max-width: 920px) {
  .container { max-width: 98vw; }
  .content-wrapper { gap: 20px; }
}

@media (max-width: 768px) {
  header nav, header .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 7px;
    max-width: 100vw;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section, section {
    padding: 22px 5px;
    margin-bottom: 34px;
    border-radius: 14px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card {
    padding: 15px 7px;
    max-width: 98vw;
  }
  .footer-branding span {
    font-size: 0.9rem;
  }
}

/****** DESKTOP-HACK: Hide mobile menu button, show desktop navs ******/
@media (min-width: 769px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  header nav, header .cta-primary {
    display: flex !important;
  }
}

/****** ANIMATIONS & EFFECTS ******/
.section, section, .card, .testimonial-card, .footer-branding, .cookie-banner, .cta-primary, .mobile-menu {
  transition: box-shadow 0.19s, background 0.18s, color 0.14s, transform 0.16s, opacity 0.17s;
}

/****** SPECIAL: ACCESSIBILITY & MISC ******/
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/****** UTILITIES ******/
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top:24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom:24px; }
.w-100 { width: 100%; }

/****** VIBRANT ENERGETIC STYLE ENFORCEMENT ******/
.card, .testimonial-card, .footer-branding, .section, section {
  border-radius: 18px;
  box-shadow: 0 5px 24px #78BBC040, 0 1px 0 #F2F3F7;
}
.card {
  border: 2px solid #78BBC088;
}
.testimonial-card {
  box-shadow: 0 2px 18px #78BBC048;
  border: 1.5px solid #78BBC0;
  background: #fff;
  color: #16305C;
}

/****** CUSTOM FONT ENFORCEMENT ******/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');

/****** ELECTRIC COLORS & ENERGY ******/
.cta-primary, .card, .mobile-menu, .cookie-banner, .cookie-modal-content {
  text-shadow: 0 1px 5px #78BBC040;
}
.cta-primary {
  background: linear-gradient(90deg, #78BBC0 70%, #F2F3F7 150%);
}
h1, h2, header nav a, .mobile-nav a, .footer-branding {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/****** FOCUS INDICATOR (Web Accessibility) ******/
:focus-visible {
  outline: 2px solid #16305C;
}

/****** ENSURE SPACING BETWEEN CARDS AND SECTIONS ******/
section + section, .section + .section, .card + .card, .testimonial-card + .testimonial-card {
  margin-top: 30px;
}

/**** Z-INDEX SAFETY FOR INTERACTIVE COMPONENTS ****/
.mobile-menu, .cookie-banner, .cookie-modal { z-index: 1002; }

/**** OVERRIDE AUTOFILL BROWSER BG FOR INPUT (for contrast) ****/
input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #16305C;
}

/****** Avoid unwanted overlaps: Give all flex layouts enough gap and margin *****/
.card, .testimonial-card, .feature-item, .footer-branding, .section {
  margin-bottom: 20px;
}

/********* END OF STYLE *********/
