/* --- CSS RESET & BASE TYPOGRAPHY --- */

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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #fff;
}
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  background: #fff;
  color: #0E1013;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #0D223A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #176087;
}
strong { font-weight: 600; }

/* --- TYPOGRAPHY SCALE --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.75rem;
  color: #111;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  color: #0D223A;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  color: #101012;
  line-height: 1.3;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #2a2a2a;
  font-weight: 500;
  margin-bottom: 10px;
}
p, ul, ol, li, blockquote {
  font-size: 1rem;
  color: #232323;
  margin-bottom: 14px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
blockquote {
  font-size: 1.13rem;
  color: #111;
  font-style: italic;
  background: #f6f7fa;
  border-left: 4px solid #101012;
  margin: 18px 0;
  padding: 12px 24px 12px 16px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li { margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
th, td {
  border: 1px solid #dbdbdb;
  text-align: left;
  padding: 10px 14px;
  font-size: 1rem;
  color: #191b1e;
}
th {
  background: #f7f7f9;
  font-weight: 600;
}

/* --- GLOBAL CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(10,24,42,0.10);
}

.section:last-of-type {
  margin-bottom: 0;
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1px solid #e2e3e5;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #0D223A;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #10141b;
  color: #fff;
}
header img {
  max-height: 38px;
  display: block;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #0D223A;
  color: #fff!important;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 25px;
  box-shadow: 0 2px 6px 0 rgba(17,21,28,0.09);
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.03em;
  text-align: center;
  margin-left: 15px;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #176087;
  color: #fff!important;
  box-shadow: 0 4px 16px 0 rgba(23,96,135,0.18);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.34rem;
  color: #0D223A;
  cursor: pointer;
  margin-left: 15px;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #176087;
  outline-offset: 2px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(19,22,28,0.98);
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.33s, transform 0.28s;
}
.mobile-menu.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  margin: 24px 22px 16px 0;
  cursor: pointer;
  z-index: 40;
  transition: color 0.14s;
}
.mobile-menu-close:focus {
  outline: 2px solid #F2B134;
  outline-offset: 3px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 24px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 0.2em;
  width: 100%;
  transition: background 0.16s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #F2B134;
  background: rgba(27,32,43,0.11);
}

/* --- HERO & KEY SECTIONS --- */
.hero {
  padding: 60px 0 42px 0;
  background: linear-gradient(90deg, #fff 60%, #f5f7fa 100%);
  box-shadow: 0 4px 12px 0 rgba(10,24,42,0.07);
}
.hero .content-wrapper {
  max-width: 700px;
  gap: 20px;
}
.hero h1 {
  color: #0D223A;
  font-size: 2.7rem;
  line-height: 1.14;
  margin-bottom: 18px;
}
.hero p {
  color: #191b1e;
  font-size: 1.13rem;
  margin-bottom: 22px;
}

/* --- CARD CONTAINERS & FLEX LAYOUTS --- */
.section .feature-grid, .technology-grid, .profile-grid, .card-container, .content-grid, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
  margin-top: 12px;
}
.feature {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(13,34,58,0.04);
  padding: 32px 28px 24px 28px;
  flex: 1 1 230px;
  min-width: 240px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, transform 0.20s;
  margin-bottom: 20px;
}
.feature img {
  width: 48px;
  filter: grayscale(100%) brightness(1.25);
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 24px 0 rgba(13,34,58,0.11);
  transform: translateY(-3px) scale(1.018);
}

.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px 0 rgba(26,28,30,0.08);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 270px;
  min-width: 230px;
  /* Only shadow and border for separation */
  transition: box-shadow 0.15s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(0,0,0,0.14);
  transform: translateY(-2px) scale(1.01);
}

.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-slider {
  /* acts like a card container */
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 18px 20px;
  background: #f7f8fa;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(45,45,51,0.05);
  min-width: 290px;
  max-width: 360px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 18px 0 rgba(0,0,0,0.10);
  transform: translateY(-1.5px) scale(1.015);
}
.testimonial-card p {
  color: #232323;
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #666a70;
  letter-spacing: 0.008em;
}

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

/* --- SPECIAL CASES FOR TABLES & COMPARISONS --- */
.comparison-table, .competitor-matrix, .equipment-comparison, .year-comparison {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 28px;
}

.company-profile, .technology-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(17,21,28,0.06);
  padding: 24px 18px 18px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
}

.quick-facts, .key-findings, .key-players {
  margin-top: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.key-findings ul, .quick-facts span, .key-players {
  color: #232323;
}

/* --- STATISTICS & CHART CARDS --- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 30px 0 20px 0;
  justify-content: space-between;
}
.stats > div {
  flex: 1 1 160px;
  min-width: 110px;
  background: #0D223A;
  color: #fff;
  border-radius: 9px;
  padding: 24px 14px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(13,33,58,0.10);
  transition: box-shadow 0.17s, transform 0.17s;
}
.stats > div strong {
  font-size: 2rem;
  color: #F2B134;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.stats > div span {
  font-size: 1.02rem;
  color: #f7f8fa;
}
.stats > div:hover { box-shadow: 0 4px 16px 0 rgba(13,33,58,0.19); transform: scale(1.025); }

.charts, .interactive-charts, .infographic, .profit-chart {
  padding: 20px 0 5px 0;
}
.charts img, .interactive-charts img, .infographic img, .profit-chart img {
  width: 90%;
  max-width: 330px;
  margin: 0 auto;
  filter: grayscale(100%) contrast(1.1);
}

/* --- CTAs --- */
.cta-section {
  margin-bottom: 60px;
  padding: 40px 0 48px 0;
  background: #0D223A;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(13,34,58,0.08);
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}
.cta-section h2 {
  color: #fff;
}
.cta-section .cta-primary {
  background: #F2B134;
  color: #0D223A!important;
  margin: 0 auto;
  box-shadow: 0 4px 14px 0 rgba(242,177,52,0.14);
  font-size: 1.13rem;
}
.cta-section .cta-primary:hover {
  background: #0D223A;
  color: #fff!important;
  box-shadow: 0 6px 18px 0 rgba(13,34,58,0.18);
}

.cta-contact {
  margin-top: 18px;
}

/* --- CONTACT INFO LAYOUT --- */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  margin-top: 16px;
  margin-bottom: 16px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: #212529;
}
.contact-info img {
  max-height: 22px;
  filter: grayscale(100%) brightness(0.6);
}

/* --- FAQ LIST --- */
.faq-list {
  list-style: none;
  margin-top: 16px;
  padding-left: 0;
  font-size: 1.03rem;
}
.faq-list li {
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f1f2;
  color: #151516;
}
.faq-list strong { color: #0D223A; font-weight: 600; }

/* --- FOOTER --- */
footer {
  background: #111216;
  color: #fff;
  padding: 0 0 0 0;
  border-top: 1px solid #23262b;
  margin-top: 70px;
}
footer .container {
  padding: 36px 24px 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 32px;
  justify-content: space-between;
}
.footer-brand img {
  max-height: 46px;
  filter: grayscale(100%) brightness(2);
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 60px;
}
.footer-nav a {
  color: #f6f7fa;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #F2B134;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
}
.footer-contact img { max-height: 18px; margin-right: 6px; filter: grayscale(100%) brightness(2); }
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #cdd2d6;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1e24;
  color: #fff;
  z-index: 5000;
  box-shadow: 0 -2px 16px 0 rgba(0,0,0,0.18);
  padding: 24px 20px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 1rem;
  transition: transform 0.27s;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner__text {
  flex: 2 1 240px;
  margin-right: 20px;
  color: #fff;
}
.cookie-banner__buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  background: #0D223A;
  color: #fff;
  border: none;
  border-radius: 21px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #176087;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(13,34,58,0.13);
}
.cookie-settings-btn {
  background: #fff;
  color: #0D223A;
  border: 1.5px solid #0D223A
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F2B134;
  color: #0D223A;
  border: 1.5px solid #F2B134;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,23,34,0.83);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.26s;
  visibility: hidden;
  opacity: 0;
}
.cookie-modal-overlay.active {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  color: #232323;
  border-radius: 16px;
  max-width: 420px;
  width: 94vw;
  padding: 32px 24px;
  box-shadow: 0 8px 54px 0 rgba(10,24,42,0.21);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: #0D223A;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category label {
  color: #0D223A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #176087;
  cursor: pointer;
}
.cookie-category input[disabled] { accent-color: #0D223A; opacity: 1; }

.cookie-modal .actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .close-modal-btn {
  background: none;
  border: none;
  color: #0D223A;
  font-size: 2rem;
  position: absolute;
  top: 14px;
  right: 20px;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 7px;
  transition: background 0.15s;
}
.cookie-modal .close-modal-btn:hover, .cookie-modal .close-modal-btn:focus {
  background: #f7f8fb;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container { max-width: 960px; }
  .hero {
    padding-top: 40px;
    padding-bottom: 28px;
  }
  .footer-nav {
    margin-right: 24px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 720px; }
  .feature-grid, .technology-grid, .profile-grid,.stats,.testimonial-slider {
    gap: 16px;
  }
  .stats, .testimonial-slider, .feature-grid, .technology-grid { justify-content: flex-start; }
  .footer-contact, .footer-nav { font-size: 0.98rem; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    align-items: flex-start;
  }
  header nav {
    display: none;
  }
  .cta-primary {
    padding: 11px 24px;
    font-size: 1rem;
    margin-left: 8px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 32px 0 24px 0;
  }
  .hero h1 { font-size: 2rem; }
  .section {
    margin-bottom: 42px;
    padding: 26px 8px;
    border-radius: 11px;
  }
  .stats {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .content-wrapper,.feature-grid, .technology-grid, .card-container,.content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cta-section {
    padding-top: 24px;
    padding-bottom: 25px;
    border-radius: 11px;
    margin-bottom: 32px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .cookie-banner__buttons {
    width: 100%;
    justify-content: flex-end;
  }
  .footer-brand img { max-height: 36px; }
  footer .container {
    flex-direction: column;
    gap: 24px;
    padding: 24px 8px 12px 8px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
    margin: 0 0 12px 0;
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero h1 { font-size: 1.36rem; }
  .cta-primary { padding: 10px 13px; font-size: 0.99rem; }
  .section { padding: 9px 2px; }
  .card, .feature, .stats > div, .company-profile, .technology-item, .testimonial-card { padding: 15px 7px 12px 8px; min-width: 0; }
  .testimonial-card { max-width: 100vw; }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
section, .hero, .cta-section, .card, .feature, .testimonial-card, .company-profile, .technology-item, .stats > div {
  animation: subtleFadeIn 0.8s ease-in 0s 1 normal backwards;
}
@keyframes subtleFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
button, .cta-primary, .cookie-banner button, .cookie-settings-btn {
  transition: background 0.16s, color 0.15s, box-shadow 0.15s, transform 0.13s;
}
button:active, .cta-primary:active { transform: scale(0.98); }

/* --- UTILITY CLASSES --- */
.text-section { margin-bottom: 18px; }
.hide { display: none!important; }

/* --- OVERRIDES AND LAST-TOUCHES --- */
::-webkit-input-placeholder  { color: #b3b5bb; }
:-moz-placeholder           { color: #b3b5bb; }
::-moz-placeholder          { color: #b3b5bb; }
:-ms-input-placeholder      { color: #b3b5bb; }

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  color: #17191c;
  background: #fff;
  border: 1.5px solid #c7c9d3;
  padding: 10px 13px;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #176087;
}

/* --- END OF STYLE.CSS --- */
