/* CSS RESET & NORMALIZE (Modern, sane defaults) */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; border: 0; }
button, input, select, textarea { font: inherit; margin: 0; }
button { background: none; border: none; cursor: pointer; }

/* VARIABLES - fallback for wide support */
:root {
  --color-primary: #21334B;
  --color-secondary: #F5F7FA;
  --color-accent: #F9B03A;
  --color-bg: #fff;
  --color-text: #1A2633;
  --color-grey: #E7EAF1;
  --color-dark: #152133;
  --font-display: 'Montserrat',Arial,Helvetica,sans-serif;
  --font-body: 'Open Sans',Arial,Helvetica,sans-serif;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
  --radius: 16px;
  --shadow: 0 4px 28px 0 rgba(33,51,75,0.12);
}

html { font-size: 100%; }
body {
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  justify-content: space-evenly;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* TYPOGRAPHY */
h1, .hero-section h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}
h4, h5, h6 { font-family: var(--font-display); font-weight: 700; }
p, li, blockquote, span { font-family: var(--font-body); font-size: 1rem; color: var(--color-text); }
.subheadline {
  font-size: 1.25rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
strong, b { font-weight: 800; font-family: var(--font-display); color: var(--color-primary); }

a {
  color: var(--color-accent);
  transition: color .2s;
}
a:hover, .btn-primary:hover {
  color: var(--color-primary);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  padding: 0.75em 2em;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(249,176,58,0.10);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  margin-top: 16px;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.btn-primary:focus, .btn-primary:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(33,51,75,.15);
  outline: none;
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 2px solid var(--color-grey);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: 0 12px 44px 0 rgba(33,51,75,0.18);
  transform: translateY(-3px) scale(1.017);
  border-color: var(--color-accent);
  z-index: 1;
}
.card h3 { margin: 0 0 8px 0; }

.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;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.testimonial-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  border: 3px solid var(--color-accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & MAJOR SECTIONS */
.hero-section {
  background: var(--color-primary);
  color: #fff;
  padding: 58px 0 44px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius) var(--radius);
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section h1, .hero-section .subheadline {
  color: #fff;
  text-shadow: 0 2px 16px rgba(33,51,75,0.25);
}
.hero-section .btn-primary {
  margin-bottom: 0;
  background: #fff;
  color: var(--color-primary);
  font-weight: 800;
  border: none;
}
.hero-section .btn-primary:hover{
  background: var(--color-accent);
  color: var(--color-primary);
}

/* FEATURES AREA */
.features {
  background: var(--color-secondary);
  border-bottom: 2px solid var(--color-grey);
  padding-top: 36px;
  padding-bottom: 60px;
}
.feature-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 280px;
  min-width: 220px;
  padding: 20px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(33,51,75,0.14);
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

/* TABLES & COMPARISON */
.sortable-table {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 14px 18px;
  margin-bottom: 24px;
  overflow-x: auto;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  font-family: var(--font-body);
}
thead th {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.09rem;
  padding: 16px 8px;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
tbody td {
  font-size: 1.01rem;
  padding: 12px 8px;
  border-bottom: 1.5px solid var(--color-grey);
}
tr:last-child td {
  border-bottom: none;
}
.compare-filters {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.compare-filters button {
  background: var(--color-accent);
  border-radius: 32px;
  color: var(--color-primary);
  font-weight: 600;
  border: none;
  padding: 7px 20px;
  margin-left: 7px;
  font-family: var(--font-display);
  transition: background var(--transition), color var(--transition);
}
.compare-filters button:hover, .compare-filters button:focus {
  background: var(--color-primary);
  color: #fff;
}
.company-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  justify-content: flex-start;
}

/* EQUIPMENT OVERVIEW */
.equipment-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.equipment-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-family: var(--font-body);
}
.technology-tags {
  display: flex;
  gap: 10px;
  margin: 18px 0 0 0;
}
.technology-tags span {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 5px 18px;
  margin-top: 0;
}
.company-technology-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}
.company-technology-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-grey);
  border-radius: 24px;
  padding: 4px 14px;
  font-weight: 700;
  font-size: .96rem;
  color: var(--color-primary);
}

/* TIMELINE */
.timeline-of-adoption ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 16px;
}
.timeline-of-adoption li {
  padding-left: 24px;
  position: relative;
}
.timeline-of-adoption li::before {
  content: '';
  position: absolute;
  left: 4px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* BENEFITS SHOWCASE & QUOTE */
.benefits-showcase ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
blockquote {
  font-style: italic;
  background: var(--color-grey);
  border-left: 5px solid var(--color-accent);
  color: var(--color-dark);
  padding: 16px 20px;
  margin: 20px 0 0 0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.09rem;
}

/* PROFIT LEADERBOARD */
.profit-leaderboard ol {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profit-leaderboard li {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-grey);
  border-radius: 16px;
  padding: 11px 18px;
  margin-bottom: 0;
  transition: background .2s, color .2s;
}
.profit-leaderboard li:hover {
  background: var(--color-accent);
  color: #fff;
}

/* FILTERS and TAGS */
.category-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.category-filters span {
  padding: 7px 18px;
  border-radius: 22px;
  background: var(--color-grey);
  color: var(--color-primary);
  font-weight: 700;
  transition: background .18s, color .18s;
  cursor: pointer;
  font-family: var(--font-display);
}
.category-filters span:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}
.selected, .category-filters .selected {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* FAQ & ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  transition: box-shadow var(--transition);
}
.faq-accordion > div:hover {
  box-shadow: 0 9px 40px 0 rgba(33,51,75,0.18);
}

/* THANK YOU PANEL */
.thank-you-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 22px;
  margin: 40px 0;
  text-align: center;
}
.thank-you-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 25px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 50px 0 30px;
  margin-top: 48px;
  border-radius: var(--radius) var(--radius) 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand { flex: 0 0 90px; }
.footer-brand img { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 2px 12px rgba(33,51,75,0.17); }
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-display);
  font-size: .99rem;
  font-weight: 600;
}
.footer-menu a {
  color: #fff;
  border-bottom: 2px solid transparent;
  transition: border-color .17s;
}
.footer-menu a:hover{ border-bottom: 2px solid var(--color-accent); color: var(--color-accent); }
.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .94rem;
  font-family: var(--font-body);
  color: #fff;
}
.footer-contact-mini img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}

/* MOBILE MENU (BURGER, OVERLAY) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 20px rgba(249,176,58,.13);
  z-index: 40;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,51,75, 0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.77,0,.175,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 30px;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 90px 0 0 38px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .19s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #fff;
  border-bottom: 2px solid var(--color-accent);
}

/* Hide burger and menu on desktop; show on mobile */
@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 11px;
    justify-content: space-between;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* Responsive Design/LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
  html { font-size: 96%; }
  body { font-size: 15px; }
  .container { max-width: 97vw; padding: 0 9px; }
  .hero-section { padding: 34px 0 28px; border-radius: 0 0 16px 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .section {
    margin-bottom: 34px;
    padding: 22px 7px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .company-highlights {
    flex-direction: column;
    gap: 10px;
  }
  .equipment-list ul {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-brand { margin-bottom: 10px; }
  .company-technology-badges { gap: 6px; }
  .category-filters { gap: 7px; }
}
@media (max-width: 480px) {
  html { font-size: 88%; }
  .btn-primary { width: 100%; justify-content: center; padding: 12px 0; font-size: 1.01rem; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff6ec;
  color: var(--color-primary);
  box-shadow: 0 -2px 30px rgba(33,51,75,0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10300;
  padding: 22px 8px;
  gap: 22px;
  font-size: 1rem;
  border-top: 2.5px solid var(--color-accent);
  animation: slideUpBanner .47s cubic-bezier(.35,.62,.25,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner button {
  margin-left: 12px;
  margin-right: 6px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 23px;
  padding: 8px 21px;
  border: none;
  transition: background .18s, color .18s;
}
.cookie-consent-banner button:focus, .cookie-consent-banner button:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-consent-banner .cookie-settings-btn {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.cookie-consent-banner .cookie-settings-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(33,51,75,0.61);
  z-index: 10350;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1; transition: opacity var(--transition);
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 28px;
  box-shadow: 0 8px 64px rgba(33,51,75,0.13);
  max-width: 400px;
  width: 90vw;
  padding: 40px 28px 29px;
  z-index: 10400;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popInModal .47s cubic-bezier(.35,.62,.25,1);
}
@keyframes popInModal {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  text-align: left;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 1.01rem;
  padding-bottom: 6px;
}
.cookie-modal .cookie-toggle {
  background: #E7EAF1;
  border: none;
  border-radius: 50px;
  width: 56px; height: 30px;
  position: relative;
  cursor: pointer;
  transition: background .16s;
}
.cookie-modal .cookie-toggle[data-enabled="true"] {
  background: var(--color-accent);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute; top: 5px; left: 5px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(33,51,75,0.12);
  transition: left .18s;
}
.cookie-modal .cookie-toggle[data-enabled="true"]:before {
  left: 31px;
}
.cookie-modal .cookie-toggle[disabled] { opacity: .47; pointer-events: none; }
.cookie-modal .btn-row {
  display: flex;
  gap: 14px;
  margin-top: 23px;
}
.cookie-modal .btn-row button {
  flex: 1 1 0;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 25px 8px 17px; }
  .cookie-modal .btn-row { flex-direction: column; gap: 7px; }
}

/* Miscellaneous & General Utility */
ul, ol { margin-left: 1.1em; }
ul li, ol li { margin-bottom: 0.6em; }

/* SCROLLBAR (Modern browsers only) */
::-webkit-scrollbar { width: 8px; background: var(--color-secondary); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 8px; }

/* Hide native outline, show custom */
:focus { outline: 2px solid var(--color-accent); outline-offset: 1.5px; }

/* Headings/Panel background on white BG */
.about-short, .comparison-preview, .key-metrics, .callout, .mission-vision, .brand-story {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 18px;
  margin-bottom: 22px;
  margin-top: 10px;
}

/* Editorial highlight */
.editorial-highlight {
  background: var(--color-grey);
  border-left: 5px solid var(--color-accent);
  border-radius: 8px;
  padding: 17px 14px;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 14px;
}
.download-options a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  font-size: 1.09rem;
}
.download-options a:hover { color: var(--color-primary); }
.related-topics { margin-top: 16px; font-size: .99rem; }
.related-topics a { color: var(--color-primary); font-weight: 700; margin-right: 7px; }
.related-topics a:hover { color: var(--color-accent); }

/* Utility classes for alignment and spacing */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.gap-20 { gap: 20px !important; }

/* HEADROOM for the header ( sticky / fixed header solution could be added if needed ) */

/* END OF STYLES */
