/* RESET & BASELINE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #232c36;
  background: #f7fafd;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #195389;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #22A699;
}
ul, ol {
  padding-left: 1.2em;
}
strong {
  font-weight: 700;
}

/* TYPOGRAPHY HIERARCHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #195389;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #195389;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #195389;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #195389;
  margin-bottom: 10px;
}
p, li {
  font-size: 1rem;
  color: #232c36;
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
}

/* SPACING & CONTAINERS */
.container {
  width: 100%;
  max-width: 1150px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(25, 83, 137, 0.06);
  display: flex; /* Required by spec */
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 5px;
  }
}

/* HEADER */
header {
  background: #195389;
  color: #fff;
  box-shadow: 0 2px 8px rgba(25,83,137,0.08);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}

nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.18s;
}
nav.main-nav a:hover, nav.main-nav a:focus {
  background: #2273b9;
  color: #fff;
}
nav.main-nav .cta.primary {
  background: #22A699;
  color: #fff;
  margin-left: 12px;
  transition: background 0.22s;
}
nav.main-nav .cta.primary:hover, nav.main-nav .cta.primary:focus {
  background: #176f62;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  border: none;
  z-index: 1041;
  margin-left: 16px;
}

@media (max-width: 1020px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* MOBILE MENU (SLIDE-IN) */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #195389;
  color: #fff;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(0.77,0.2,0.05,1);
  box-shadow: 2px 0 36px rgba(25,83,137,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: none;
  color: #fff;
  border: none;
  margin: 30px 30px 10px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 16px 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8F0FC;
  color: #195389;
}

/* HERO / HEADER SECTIONS */
.hero {
  background: #E8F0FC;
  padding: 60px 0 50px 0;
  display: flex;
  align-items: center;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  gap: 40px;
}
.hero .content-wrapper {
  max-width: 700px;
}
.hero h1 {
  color: #195389;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 35px;
}
.hero .cta.primary {
  font-size: 1.14rem;
  padding: 13px 38px;
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0 25px 0;
  }
  .hero .container {
    flex-direction: column;
    gap: 16px;
  }
  .hero .content-wrapper {
    text-align: center;
    gap: 12px;
  }
}

/* FLEXBOX LAYOUTS AND CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(25,83,137,0.07);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
  flex: 1 0 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(25,83,137,0.19);
  transform: translateY(-2px) scale(1.012);
}
.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;
  color: #232c36;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(25,83,137,0.08);
  margin-bottom: 20px;
  min-width: 320px;
  flex: 1 1 340px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #E8F0FC;
  border-radius: 12px;
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 0 235px;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(25,83,137,0.06);
  transition: box-shadow 0.14s, background 0.14s;
}
.feature-item img {
  height: 36px;
  width: 36px;
}
.feature-item:hover {
  box-shadow: 0 4px 18px rgba(34,166,153,0.07);
  background: #d3e8fa;
}

@media (max-width: 1000px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .testimonial-slider,
  .feature-grid,
  .service-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card, .testimonial-card, .feature-item {
    min-width: unset; max-width: 100%;
  }
}

/* FEATURE GRIDS & SERVICE CARDS */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(25,83,137,0.06);
  padding: 22px 14px 18px 14px;
  min-width: 210px;
  flex: 1 0 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.service-item .price {
  background: #E8F0FC;
  color: #195389;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 13px;
  border-radius: 8px;
  margin-top: 8px;
}
.service-item:hover {
  box-shadow: 0 3px 14px rgba(25,83,137,0.14);
}

.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 18px;
}
.pricing-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #E8F0FC;
  border-radius: 10px;
  padding: 14px 18px;
  min-width: 220px;
  gap: 12px;
}
.pricing-row h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #195389;
  font-weight: 600;
}
.pricing-row .price {
  color: #22A699;
  font-weight: 700;
  background: #fff;
  padding: 4px 14px;
  border-radius: 7px;
}

@media (max-width: 520px) {
  .pricing-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* CASE STUDY & TESTIMONIALS */
.testimonial-list, .mini-testimonials, .testimonial-slider, .case-study-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.case-study {
  background: #fff;
  border-left: 6px solid #195389;
  border-radius: 8px;
  padding: 18px 18px 18px 26px;
  box-shadow: 0 1px 10px rgba(25, 83, 137, 0.06);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width: 270px;
}
.case-study h3 {
  color: #195389;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.case-study blockquote {
  font-style: italic;
  border-left: 3px solid #22A699;
  margin-left: 0;
  padding-left: 9px;
  color: #232c36
}
.results-highlight {
  margin-top: 10px;
  font-weight: 600;
  color: #207061;
}
@media (max-width: 700px) {
  .testimonial-list, .mini-testimonials, .testimonial-slider, .case-study-previews {
    flex-direction: column;
    gap: 12px;
  }
  .case-study { min-width: unset }
  .testimonial-card, .case-study { max-width: 100%; }
}

/* BUTTONS & CTA */
.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  font-size: 1.1rem;
  line-height: 1.4;
  padding: 12px 34px;
  margin-top: 15px;
  background: #195389;
  color: #fff;
  border: none;
  box-shadow: 0 2px 20px rgba(25,83,137,0.07);
  cursor: pointer;
  transition: background 0.17s, color 0.16s, box-shadow 0.16s, transform 0.15s;
  outline: none;
}
.cta.primary {
  background: #22A699;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #207061;
  color: #fff;
}
.cta.secondary {
  background: #fff;
  color: #195389;
  border: 2px solid #195389;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #E8F0FC;
  color: #195389;
}

/* BADGES, LOGOS, STAMPS */
.trust-badges, .certifications, .industry_partners, .customer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  align-items: center;
}
.trust-badges span,
.certifications span,
.industry_partners span,
.customer-logos span {
  background: #E8F0FC;
  color: #195389;
  font-weight: 700;
  border-radius: 7px;
  padding: 5px 13px;
  font-size: 0.98rem;
  display: inline-block;
}
.ratings span {
  font-weight: 700;
  color: #22A699;
  font-size: 1rem;
  margin-top: 4px;
  display: block;
}

/* TABLES & FAQ */
.feature-comparison, .pricing-faq {
  background: #E8F0FC;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 28px;
}
.feature-comparison ul, .pricing-faq ul, .benefit-list, .usp-list, .included-features-list, .next-steps ul {
  margin: 0 0 0 16px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TEAM */
.team-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.team-list li {
  background: #E8F0FC;
  border-radius: 7px;
  padding: 14px 16px;
  list-style: none;
}
.team-list strong {
  color: #195389;
  font-weight: 700;
}

/* FOOTER */
footer {
  background: #195389;
  color: #fff;
  padding: 42px 0 24px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.footer-nav a {
  color: #E8F0FC;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #22A699;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  margin-top: 7px;
  color: #E8F0FC;
}
footer img {
  height: 40px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* BLOG & CATEGORY LISTS */
.blog-list ul, .popular-posts ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-filter {
  margin-top: 12px;
  font-size: 1.1rem;
}

/* FORMS, CONTACT & MAP */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 0;
}
.contact-info li {
  list-style: disc;
  margin-left: 17px;
}
.opening-hours, .map-location {
  background: #E8F0FC;
  border-radius: 6px;
  padding: 12px 17px;
  margin-bottom: 12px;
  font-size: 1rem;
}

/* SUPPLEMENTARY & STATUS */
.success-message, .support-statement, .newsletter-signup {
  background: #e8f0fc;
  color: #195389;
  border-radius: 9px;
  padding: 15px 23px;
  font-size: 1.07rem;
  font-weight: 500;
}
.next-steps ul {
  margin-top: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #195389;
  color: #fff;
  box-shadow: 0 -2px 12px rgba(25,83,137,0.15);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 38px;
  z-index: 1200;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 0.22s, transform 0.38s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-msg {
  flex: 1;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 20px;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept {
  background: #22A699;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #207061;
}
.cookie-banner .reject {
  background: #fff;
  color: #195389;
  border: 2px solid #22A699;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  color: #fff;
  background: #195389;
  border-color: #195389;
}
.cookie-banner .settings {
  background: #fff;
  color: #195389;
  border: 2px solid #195389;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #E8F0FC;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 10px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(31,52,85,0.38);
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #232c36;
  border-radius: 13px;
  padding: 34px 30px 28px 30px;
  box-shadow: 0 8px 30px rgba(25,83,137,0.19);
  min-width: 320px;
  max-width: 98vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPop .32s cubic-bezier(0.68,-0.55,0.27,1.55);
}
@keyframes modalPop {
  0% { transform: scale(0.84) translateY(40px); opacity:0; }
  96% { transform: scale(1.04) translateY(-7px); opacity:1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h2 {
  color: #195389;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
  accent-color: #22A699;
}
.cookie-category.essential input[type="checkbox"]:disabled {
  accent-color: #195389;
}
.cookie-category.essential label {
  color: #195389;
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px;
  right: 14px;
  background: none;
  font-size: 1.65rem;
  color: #195389;
  border: none;
  cursor: pointer;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  padding: 8px 24px;
  background: #22A699;
  color: #fff;
  transition: background 0.17s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #195389;
  color: #fff;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 5px 20px 5px;
    min-width: unset;
  }
}

/* ANIMATIONS & INTERACTIONS */
button, .cta, a {
  transition: background 0.16s, color 0.15s, box-shadow 0.13s, transform 0.13s;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid #22A699;
  outline-offset: 2px;
}
.card:active, .feature-item:active, .service-item:active {
  transform: scale(0.98);
  box-shadow: 0 0 0px rgba(25,83,137, 0.06);
}
.cta.primary:active {
  background: #195389;
}

/* GENERAL RESPONSIVENESS */
@media (max-width: 1020px) {
  .feature-grid, .service-grid, .content-grid {
    gap: 15px;
  }
}
@media (max-width: 600px) {
  .container, .content-wrapper, .section {
    padding-left: 3px;
    padding-right: 3px;
  }
}

/* UTILITY: SPACE & FLEX PATTERNS */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }

/* END STYLES */
