/* ===========================================================
   RESET & BASE (normalize, box-sizing, font smoothing)
   =========================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  color: #1e2228;
  background: #F6F8FA;
  line-height: 1.65;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #234372;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #16A085;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
}

/* ===========================================================
   TYPOGRAPHY
   =========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #234372;
  margin-bottom: 0.75em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 26px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}
p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.section ul, .section ol {
  margin-bottom: 18px;
}

/* ===========================================================
   LAYOUT & CONTAINERS
   =========================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(35, 67, 114, 0.06);
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* ===========================================================
   HEADER
   =========================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35, 67, 114, 0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
header a img {
  height: 42px;
  width: auto;
  margin-right: 24px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.06rem;
  color: #234372;
  text-decoration: none;
  padding: 5px 0;
  text-shadow: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.3s;
}
nav a:hover, nav a:focus {
  color: #16A085;
  border-bottom: 2px solid #16A085;
}
.cta-button {
  display: inline-block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  font-size: 1.1rem;
  background: #234372;
  color: #fff;
  padding: 13px 36px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(35, 67, 114, 0.09);
  border: none;
  text-decoration: none;
  margin-left: 28px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-button:hover, .cta-button:focus {
  background: #16A085;
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 160, 133, 0.11);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  margin-left: 12px;
  background: #234372;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2100;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #16A085;
  color: #fff;
}
@media (max-width: 970px) {
  nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ===========================================================
   MOBILE MENU
   =========================================================== */
.mobile-menu {
  position: fixed;
  z-index: 2200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(35, 67, 114, 0.12);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.6,0.02,0.17,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #234372;
  background: none;
  border: none;
  align-self: flex-end;
  margin-right: 24px;
  margin-bottom: 12px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 90vw;
  gap: 8px;
  margin-top: 16px;
}
.mobile-nav a {
  display: block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.18rem;
  color: #234372;
  padding: 16px 0 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #F0EEEA;
  transition: color 0.2s, background 0.2s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #16A085;
  background: #F6F8FA;
}
@media (min-width: 971px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===========================================================
   MAIN LAYOUT
   =========================================================== */
main {
  min-height: 60vh;
  padding-top: 28px;
}

/* ===========================================================
   FLEXBOX PATTERNS & THEMED SECTIONS
   =========================================================== */
.features-grid,
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.features-grid > .feature,
.services-list > .service {
  background: #F6F8FA;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35, 67, 114, 0.06);
  padding: 26px 18px 18px 18px;
  min-width: 240px;
  flex: 1 1 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.features-grid > .feature:hover,
.services-list > .service:hover {
  box-shadow: 0 8px 38px rgba(35,67,114,0.10);
  transform: translateY(-4px) scale(1.01);
}
.features-grid img,
.services-list img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

/* Card containers & grid patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(35,67,114,0.06);
  padding: 24px 18px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(35,67,114,0.13);
}
.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;
}
@media (max-width: 768px) {
  .features-grid, .services-list, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.benefit-summary, .stats-highlights, .insight-highlights, .training-modules, .case-studies, .next-steps {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F6F8FA;
  padding: 18px 15px;
  border-radius: 11px;
  font-size: 1.055rem;
}

.client-logos {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.client-logos img {
  width: 36px;
  height: 36px;
}

/* ===========================================================
   TESTIMONIALS & QUOTES
   =========================================================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(35, 67, 114, 0.10);
  min-width: 250px;
  max-width: 370px;
  color: #24324b;
  border-left: 5px solid #16A085;
  transition: box-shadow 0.18s, border-color 0.22s;
}
.testimonial-card p {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  color: #234372;
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 0px;
}
.testimonial-card span {
  color: #234372;
  font-size: 1.02rem;
  margin-top: 4px;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px rgba(35,67,114,0.15);
  border-left: 5px solid #234372;
}

/* ===========================================================
   FOOTER
   =========================================================== */
footer {
  background: #234372;
  color: #fff;
  padding-top: 32px;
  padding-bottom: 22px;
  margin-top: 50px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.02rem;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #16A085;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  margin-left: 10px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
footer img {
  height: 38px;
  width: auto;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-contact {
    margin-left: 0;
  }
}

/* ===========================================================
   FORMS (minimal for contact views if any)
   =========================================================== */
input, textarea, select {
  padding: 12px 11px;
  border-radius: 8px;
  border: 1px solid #dadbdd;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #16A085;
  outline: none;
}

/* ===========================================================
   COOKIE CONSENT BANNER & MODAL
   =========================================================== */
.cookie-banner {
  position: fixed;
  z-index: 3000;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #234372;
  box-shadow: 0 -2px 16px rgba(35, 67, 114, 0.10);
  padding: 20px 32px 18px 32px;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.01rem;
  animation: cookie-banner-in 0.4s cubic-bezier(0.67,0.01,0.18,0.98);
}
@keyframes cookie-banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-banner button {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.08rem;
  border: none;
  border-radius: 25px;
  padding: 8px 22px;
  margin: 0 2px;
  color: #fff;
  background: #234372;
  transition: background 0.21s;
  font-weight: 600;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #16A085;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #16A085;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #234372;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 10px 11px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    gap: 6px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 3040;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,67,114,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  color: #234372;
  border-radius: 18px;
  box-shadow: 0 6px 38px rgba(35,67,114,0.20);
  min-width: 320px;
  max-width: 96vw;
  padding: 28px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: modal-fade-in 0.25s cubic-bezier(0.62,0.06,0.16,0.95);
}
@keyframes modal-fade-in {
  from { transform: translateY(32px); opacity: 0.5; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  align-self: flex-end;
  font-size: 1.7rem;
  color: #234372;
  border: none;
  background: none;
  cursor: pointer;
  margin-bottom: 8px;
}
.cookie-modal-content h3 {
  font-size: 1.20rem;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #16A085;
  width: 20px;
  height: 20px;
}
.cookie-category--locked input[type="checkbox"] {
  accent-color: #dadada;
}
/* Category locked (essential) */
.cookie-category--locked label {
  opacity: 0.55;
}
.cookie-modal-content .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.cookie-modal-content button {
  border-radius: 18px;
  padding: 6px 20px;
  background: #234372;
  color: #fff;
  border: none;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.06rem;
  font-weight: 600;
  transition: background 0.2s;
}
.cookie-modal-content button:hover, .cookie-modal-content button:focus {
  background: #16A085;
}

/* ===========================================================
   ANIMATIONS & EFFECTS
   =========================================================== */
a, button, .cta-button {
  transition: color 0.2s, background 0.2s, border 0.2s, box-shadow 0.2s, opacity 0.2s, transform 0.15s;
}
.features-grid > .feature, .services-list > .service, .card, .testimonial-card, .cta-button {
  transition: box-shadow 0.22s, border 0.22s, background 0.19s, transform 0.13s;
}

/* ===========================================================
   MISCELLANEOUS UI
   =========================================================== */
.stats-highlights ul,
.insight-highlights ul,
.next-steps ul, .gratitude-message {
  margin: 0;
  list-style-type: none;
  padding-left: 0.85em;
}
.stats-highlights ul li, .insight-highlights ul li, .next-steps ul li {
  margin-bottom: 6px;
  font-size: 1.05rem;
  position: relative;
  padding-left: 12px;
}
.stats-highlights ul li::before, .insight-highlights ul li::before, .next-steps ul li::before {
  content: '\2022';
  color: #16A085;
  position: absolute;
  left: 0;
}
.gratitude-message {
  color: #16A085;
  font-weight: 700;
  font-size: 1.22rem;
  margin-bottom: 16px;
}

.analysis-tools, .client-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.analysis-tools img, .client-logos img {
  width: 36px;
  height: 36px;
}

/* Remove default spinning on number input for uniformity */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* ===========================================================
   RESPONSIVE MEDIA QUERIES
   =========================================================== */
@media (max-width: 970px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    align-items: center;
  }
}
@media (max-width: 830px) {
  .features-grid, .testimonials {
    gap: 15px;
  }
  .features-grid > .feature,
  .services-list > .service,
  .card {
    min-width: 170px;
    flex: 1 1 100%;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  h2 {
    font-size: 1.10rem;
    margin-bottom: 10px;
  }
  .card, .features-grid > .feature, .testimonial-card {
    padding: 12px 7px;
  }
  .cta-button {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* ===========================================================
   PRINT MEDIA (optional shrink)
   =========================================================== */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  .container, .section {
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}
