/* CSS 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 {
  background: #F3F6F9;
  color: #1A2233;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}
a {
  color: #163353;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #70A4B3;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  color: #163353;
  margin-bottom: 0.4em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.12; }
h2 { font-size: 2rem; line-height: 1.16; }
h3 { font-size: 1.36rem; line-height: 1.22; }
h4 { font-size: 1.12rem; }
h5, h6 { font-size: 1rem; }
strong { font-weight: 700; }
p { margin-bottom: 1.25em; }
blockquote {
  padding: 16px 24px;
  border-left: 5px solid #70A4B3;
  background: #F3F6F9;
  color: #163353;
  font-style: italic;
  margin: 20px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 24px 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(22,51,83,0.04),0 1.5px 0px #e1e9ef inset;
  border-radius: 8px;
  overflow: hidden;
}
th, td {
  border: none;
  padding: 14px 18px;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #F3F6F9;
  color: #163353;
  font-weight: 700;
  border-bottom: 2px solid #70A4B3;
}
td { color: #234; }

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
main {
  min-height: 48vh;
}

/* FLEXBOX SECTIONS — SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(22,51,83,0.12);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 32px;
  flex: 1 1 320px;
}
.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;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 28px;
  box-shadow: 0 2px 14px 0 rgba(22,51,83,0.07);
  position: relative;
  border-left: 5px solid #163353;
  color: #163353;
  font-size: 1.07em;
}
.testimonial-card p {
  margin: 0;
  color: #222E40;
  flex: 1 1 auto;
}
.testimonial-card span {
  min-width: 130px;
  color: #70A4B3;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  padding: 56px 0 36px 0;
  background: linear-gradient(100deg, #F3F6F9 80%, #70A4B3 100%);
  border-bottom-left-radius: 52px;
  border-bottom-right-radius: 52px;
  margin-bottom: 48px;
}
.hero .content-wrapper h1 {
  font-size: 2.7rem;
  font-family: 'Roboto Slab', Arial,sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}
.hero .content-wrapper p {
  font-size: 1.23rem;
  color: #40607a;
  margin-bottom: 2em;
  max-width: 560px;
}

/* FEATURE GRID (for strengths & services) */
.feature-grid, .key-metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 38px 0 20px 0;
}
.feature-grid li, .key-metrics-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(22,51,83,0.07);
  padding: 24px 22px 22px 24px;
  flex: 1 1 230px;
  min-width: 170px;
  max-width: 360px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-weight: 500;
  color: #163353;
  border-left: 4px solid #70A4B3;
}
.feature-grid img, .key-metrics-grid img {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  margin-top: 4px;
}

/* LEGAL SECTION */
.legal {
  background: #fff;
  border-radius: 28px;
  margin: 32px 0 56px 0;
  box-shadow: 0 2px 14px 0 rgba(22,51,83,0.07);
  padding: 40px 24px;
}

/* ACCORDION */
.accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 24px 0;
}
.accordion > div {
  background: #F3F6F9;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px rgba(22,51,83,0.04);
  padding: 18px 26px;
  flex: 1 1 240px;
  min-width: 160px;
  font-size: 1.06em;
  color: #163353;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ANALYSIS CARDS */
.analysis-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
}
.analysis-cards > div {
  background: #fff;
  padding: 22px 22px 18px 22px;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(22,51,83,0.09);
  min-width: 210px;
  flex: 1 1 250px;
  border-left: 4px solid #70A4B3;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 1.07rem;
  font-weight: 700;
  font-family: 'Roboto Slab', Arial,sans-serif;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.19s;
  margin: 8px 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(22,51,83,0.04);
}
.btn.primary {
  background: #163353;
  color: #fff;
  border: 2.5px solid #163353;
}
.btn.primary:hover, .btn.primary:focus {
  background: #70A4B3;
  color: #163353;
  border-color: #70A4B3;
}
.btn.secondary {
  background: transparent;
  color: #163353;
  border: 2px solid #70A4B3;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #70A4B3;
  color: #fff;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(22,51,83,0.04);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 15;
}
header .container {
  min-height: 68px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

img[alt="Paradigm Hub"] {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  font-family: 'Roboto Slab', Arial, serif;
  font-size: 1.06rem;
  color: #163353;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 2px;
  font-weight: 700;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #70A4B3;
}
.main-nav a.active {
  color: #70A4B3;
  border-bottom: 2.5px solid #70A4B3;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #163353;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 10px;
  padding: 8px 18px 8px 13px;
  cursor: pointer;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1200;
  box-shadow: 0 2px 8px rgba(22,51,83,0.08);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #70A4B3;
  color: #163353;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  box-shadow: 0 12px 40px 0 rgba(22,51,83,0.13);
  transition: transform 0.37s cubic-bezier(.49,1.58,.49,1.58);
  transform: translateX(-105vw);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInRight .4s cubic-bezier(.49,1.58,.49,1.58);
}
@keyframes slideInRight {
  0% { transform: translateX(-105vw); }
  100% { transform: translateX(0); }
}
.mobile-menu-close {
  background: #163353;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 2020;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #70A4B3;
  color: #163353;
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding-left: 28px;
}
.mobile-nav a {
  font-size: 1.34rem;
  font-family: 'Roboto Slab', Arial,serif;
  color: #163353;
  font-weight: 700;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid #E6EDF5;
  transition: color 0.19s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #70A4B3;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 13px;
  }
  .feature-grid, .key-metrics-grid {
    gap: 16px;
  }
}

/* FOOTER */
footer {
  background: #fff;
  margin-top: 74px;
  padding: 34px 0 26px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px 0 rgba(22,51,83,0.04);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 9px;
}
.footer-nav a {
  color: #163353;
  font-family: 'Roboto Slab', Arial,serif;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #70A4B3;
  text-decoration: underline;
}
.footer-contact {
  color: #37495F;
  font-size: 1em;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 12px 0;
  align-items: flex-start;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-contact a {
  color: #70A4B3;
  word-break: break-all;
}
.footer-contact a:hover {
  color: #163353;
}
.footer-copy {
  color: #92A8BA;
  font-size: 0.93em;
  margin-top: 14px;
  font-family: 'Roboto Slab', Arial,serif;
}

/* CONTENT/SECTION WRAPPERS */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 30px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.05em;
}
.text-section ul {
  margin-bottom: 5px;
}
.text-section address {
  font-style: normal;
  color: #40607a;
}

/* CONFIRMATION SECTION (THANK YOU PAGE) */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
}
.confirmation .text-section {
  align-items: center;
}

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #163353;
  color: #fff;
  width: 100vw;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 22px 12px;
  box-shadow: 0 -2.5px 16px 0 rgba(22,51,83,0.09);
  font-size: 1.04em;
  animation: bannerDrop .5s cubic-bezier(.3,1.36,.47,1.29);
}
@keyframes bannerDrop {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  max-width: 520px;
  line-height: 1.5;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 24px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-size: 1.07em;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.13s;
  margin: 0 2px;
}
.cookie-banner .accept {
  background: #70A4B3;
  color: #163353;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: #163353;
}
.cookie-banner .reject {
  background: #fff;
  color: #163353;
  border: 2px solid #70A4B3;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #70A4B3;
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #70A4B3;
  color: #163353;
  border-color: #70A4B3;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,51,83,0.24);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 32px 22px;
  box-shadow: 0 6px 38px 0 rgba(22,51,83,0.13);
  width: 95%;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalUp .4s cubic-bezier(.24,1.36,.57,1.11);
}
@keyframes modalUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #163353;
  margin-bottom: 2px;
  font-size: 1.36em;
  font-family: 'Roboto Slab', Arial, serif;
}
.cookie-modal .cookie-category {
  margin: 10px 0 8px 0;
  padding: 10px 0 5px 0;
  border-bottom: 1px solid #F3F6F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.06em;
}
.cookie-modal .cookie-category label {
  color: #163353;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #70A4B3;
}
.cookie-modal .cookie-category .essential {
  color: #70A4B3;
  font-weight: 700;
  margin-right: 8px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 5px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 24px;
  background: #163353;
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.25em;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  background: #70A4B3;
  color: #163353;
}

/* MEDIA QUERIES — RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 9px;
    padding-right: 9px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 7px;
  }
  .feature-grid, .card-container, .content-grid, .analysis-cards {
    gap: 12px;
  }
  .hero {
    padding: 34px 0 26px 0;
    margin-bottom: 36px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding-top: 36px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }
  .hero .container,
  .content-wrapper,
  .footer-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 18px;
  }
  .section {
    margin-bottom: 32px;
    padding: 26px 2px;
  }
  .feature-grid, .key-metrics-grid, .card-container, .analysis-cards {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid li, .key-metrics-grid li, .card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  .hero .content-wrapper h1 {
    font-size: 2.1rem;
    max-width: 95vw;
  }
  .testimonial-card {
    padding: 14px 6px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 2px;
    font-size: 1em;
  }
}

/* GEOMETRIC_STRUCTURED DETAILS */
/* Geometric (angular) visual accents on cards, hover underlines, etc. */
.card, .analysis-cards > div, .feature-grid li, .key-metrics-grid li, .testimonial-card, .accordion > div {
  border-radius: 17px 7px 17px 7px;
  box-shadow: 0 2px 14px 0 rgba(22,51,83,0.07);
  border-left: 4.5px solid #70A4B3;
  font-family: 'Open Sans', Arial, sans-serif;
}
.btn, .cookie-banner button {
  border-radius: 24px 6px 24px 6px;
}
.btn:active, .cookie-banner button:active {
  filter: brightness(0.93);
  transform: scale(0.98);
}
/* Subtle geometric shadow on buttons/cards */
.card, .feature-grid li, .analysis-cards > div, .testimonial-card {
  box-shadow: 4px 3px 0px 0px #F3F6F9, 0 2px 12px 0 rgba(22,51,83,0.13);
}
.btn.primary {
  box-shadow: 3px 2px 0 0 #70A4B3, 0 2px 8px rgba(22,51,83,0.04);
}

/* TYPOGRAPHY HIERARCHY (ROUNDED/ANGULAR)
---------------------------------------------------*/
h1, h2, h3, .btn, .main-nav a, .footer-nav a {
  font-family: 'Roboto Slab', Arial, serif !important;
  font-variant-caps: normal;
  font-variation-settings: 'wdth' 90, 'wght' 630;
  letter-spacing: 0.01em;
}

/* For accessibility improvements */
:focus-visible {
  outline: 2.5px solid #70A4B3;
  outline-offset: 2px;
}

/* Micro-interactions for cards and features */
.card:hover,
.feature-grid li:hover,
.key-metrics-grid li:hover,
.analysis-cards > div:hover,
.testimonial-card:hover {
  box-shadow: 8px 4.5px 0px 0px #70A4B3, 0 4px 18px 0 rgba(22,51,83,0.12);
  transition: box-shadow 0.15s cubic-bezier(.56,.82,.25,1.27);
}

/* Hide visually (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
