/* ========================================================
   CSS RESET & BASE STYLES
=========================================================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #181C26;
  color: #F3F3F3;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: #FF583D;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #FFF;
}

/* Brand Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  color: #F3F3F3;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 14px; }
h3 { font-size: 1.375rem; line-height: 1.2; margin-bottom: 10px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }

p, li, ul, ol, span, strong, em, div {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #E6E9EE;
  font-size: 1rem;
}
strong { color: #FF583D; font-weight: 700; }

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 0; /* spacing managed by .section */
}

/* ========================================================
   LAYOUT AND SPACING - FLEXBOX ONLY
=========================================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(27,34,50,0.94);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(12,17,23,0.13);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202633;
  border-radius: 12px;
  box-shadow: 0 1.5px 9px 0 rgba(22, 20, 24, 0.14);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1.5px solid #292E39;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(255,88,61,0.13), 0 2px 10px 0 #FF583D33;
  transform: translateY(-3px) scale(1.012);
  border-color: #FF583D;
  z-index: 2;
}
.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: #F3F3F3;
  color: #181C26;
  border-radius: 13px;
  padding: 20px;
  box-shadow: 0 2px 16px 0 rgba(27,34,50,0.15);
  margin-bottom: 20px;
  border-bottom: 4px solid #FF583D;
  position: relative;
  min-width: 290px;
  flex: 1 1 320px;
}

.testimonial-card p, .testimonial-card strong, .testimonial-card div, .testimonial-card span {
  color: #181C26;
}

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

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #232B3A;
  border-radius: 11px;
  padding: 22px 18px;
  flex: 1 1 220px;
  border-left: 3px solid #FF583D;
  box-shadow: 0 3px 16px 0 rgba(40, 42, 51, 0.17);
  transition: border-color 0.18s;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-grid > div:hover {
  border-left: 5px solid #FF583D;
  background: #1B2232;
  cursor: pointer;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 12px;
}
.category-tabs span {
  font-family: 'Oswald', Arial, sans-serif;
  background: #232B3A;
  color: #FF583D;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid #313844;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.category-tabs span:hover {
  background: #FF583D;
  color: #181C26;
}

.success-story {
  background: #202633;
  border-left: 5px solid #FF583D;
  border-radius: 11px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(27,34,50,0.08);
  position: relative;
}
.success-story h3 {
  color: #FF583D;
  margin-bottom: 7px;
}
.success-story span {
  color: #FF583D;
  font-size: 0.98rem;
}

.certifications-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 10px;
}

/* ========================================================
   HEADER, NAVIGATION & BURGER MENU
=========================================================== */
header {
  background: #1B2232;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.09);
  border-bottom: 2px solid #232B3A;
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 26px;
  position: relative;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #F3F3F3;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .16s, color .2s;
}
header nav a:hover,
header nav a:focus {
  color: #FF583D;
  border-bottom: 2px solid #FF583D;
}
.cta-button {
  background: #FF583D;
  color: #F3F3F3;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 12px 26px;
  border: none;
  box-shadow: 0 3px 14px 0 rgba(255,87,61,0.08);
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.23s, color 0.2s, box-shadow 0.2s, transform 0.16s;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: #FF583D;
  box-shadow: 0 6px 18px 0 #FF583D33;
  transform: translateY(-2px) scale(1.023);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #FF583D;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 2.1rem;
  width: 47px;
  height: 47px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 210;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #fff;
  color: #FF583D;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27,34,50,0.96);
  box-shadow: 4px 0 40px 0 rgba(16,14,20,0.15);
  z-index: 220;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.6,.05,.67,1.1);
  padding: 0 0 32px 0;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FF583D;
  font-size: 2.8rem;
  position: absolute;
  top: 22px;
  right: 22px;
  cursor: pointer;
  z-index: 222;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  margin-top: 70px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .14s, color .12s;
  line-height: 1;
  min-width: 70vw;
}
.mobile-nav a:hover {
  color: #FF583D;
  border-bottom: 2px solid #FF583D;
}

@media (max-width: 1024px) {
  header .container nav, header .container .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}

/* ========================================================
   FOOTER
=========================================================== */
footer {
  background: #202633;
  padding: 44px 0 0 0;
  border-top: 2px solid #292E39;
  box-shadow: 0 -3px 24px 0 rgba(20, 20, 18, 0.13);
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
  padding-bottom: 12px;
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
footer nav a {
  color: #F3F3F3;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color .13s;
}
footer nav a:hover { color: #FF583D; }

.footer-legal {
  font-size: 0.98rem;
  color: #949FB8;
  opacity: .65;
  text-align: left;
  padding: 20px 0 16px 0;
}
.footer-legal a { color: #FF583D; text-decoration: underline; margin-right: 6px; }
.footer-legal a:hover { color: #fff; }

.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: #F3F3F3;
  padding-top: 8px;
}
.contact-summary img {
  display: inline-block;
  width: 17px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ========================================================
   BUTTONS & INTERACTIVES
=========================================================== */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  background: #FF583D;
  color: #fff;
  padding: 11px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.1s, transform 0.12s;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #fff;
  color: #FF583D;
  box-shadow: 0 2px 10px rgba(255,88,61,0.13);
  outline: none;
  transform: scale(1.022);
}


/* ========================================================
   RESPONSIVE & FLEX ALIGNMENT
=========================================================== */
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    border-radius: 8px;
    margin-bottom: 42px;
  }
  .content-wrapper {
    gap: 16px;
    align-items: flex-start;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .success-story { padding: 14px 9px; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  header .container {
    height: 68px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .footer-legal { font-size: .88rem; }
  .cta-button { font-size: 1rem; padding: 10px 16px; }
}

.text-image-section {
  flex-direction: row;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
}

/* ========================================================
   COOKIE CONSENT BANNER & PREFERENCES MODAL
=========================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1510;
  background: #181C26;
  color: #fff;
  padding: 28px 20px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 -4px 22px rgba(27,34,50,0.16);
  font-size: 1rem;
  border-top: 3px solid #FF583D;
  transition: transform 0.33s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-preferences-btn {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  border-radius: 6px;
  font-size: 1rem;
  background: #FF583D;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-right: 0;
  transition: background 0.16s, color 0.14s;
}
.cookie-banner button:hover,
.cookie-banner .cookie-preferences-btn:hover {
  background: #fff;
  color: #FF583D;
}
.cookie-banner .cookie-preferences-btn {
  background: transparent;
  color: #FF583D;
  border: 1.4px solid #FF583D;
  padding: 9px 18px;
  margin-left: 2px;
}
.cookie-banner .cookie-preferences-btn:hover {
  background: #FF583D;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1550;
  background: rgba(30,34,44,0.91);
  align-items: center;
  justify-content: center;
  animation: fadeIn .34s;
}
.cookie-modal.active { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #222836;
  border-radius: 15px;
  padding: 38px 26px 28px 26px;
  max-width: 94vw;
  min-width: 290px;
  box-shadow: 0 7px 32px 0 rgba(27,34,50,0.19);
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal .modal-header {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.4rem;
  color: #FF583D;
  margin-bottom: 5px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  padding: 5px 0;
  color: #F3F3F3;
}
.cookie-options input[type="checkbox"] {
  accent-color: #FF583D;
  width: 18px;
  height: 18px;
}
.essential-cookie-label {
  color: #8992A8 !important;
  font-size: 0.97rem;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #FF583D;
  cursor: pointer;
}
.cookie-modal .modal-close:hover {
  color: #fff;
}

/* ========================================================
   FORMS, LISTS, & OTHER BASICS
=========================================================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 14px;
  border-radius: 7px;
  border: 1.3px solid #232B3A;
  background: #2A3547;
  color: #F3F3F3;
  margin-bottom: 12px;
  transition: border-color 0.18s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #FF583D;
  box-shadow: 0 0 0 2px #FF583D20;
}

ul, ol {
  margin-bottom: 12px;
  margin-left: 24px;
}
ul li, ol li {
  margin-bottom: 9px;
  position: relative;
  padding-left: 1.7em;
  color: #CDD2E0;
}
ul li:before {
  content: '\2022';
  color: #FF583D;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0.17em;
}

/* ========================================================
   MICRO-INTERACTIONS
=========================================================== */
.card, .feature-grid > div, .cta-button, button, .category-tabs span, .testimonial-card {
  transition: box-shadow 0.23s, background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 40px 0 #FF583D22;
  border-bottom: 6px solid #FF583D;
  transform: translateY(-2px) scale(1.011);
}
.success-story:hover {
  box-shadow: 0 8px 30px 0 #FF583D33;
  border-color: #FF583D;
}
.category-tabs span:active {
  box-shadow: 0 1px 8px 0 #FF583D44;
}

/* ========================================================
   DARK/LIGHT ELEMENT CONTRAST FOR TESTIMONIALS ETC.
=========================================================== */
.testimonial-card {
  background: #F3F3F3;
  color: #181C26;
}
.testimonial-card p, .testimonial-card strong, .testimonial-card div, .testimonial-card span {
  color: #181C26 !important;
}
.testimonial-card img {
  width: 98px;
  height: auto;
}

/* ========================================================
   SPECIAL CLASSES & MISC
=========================================================== */
.feature-grid img, .feature-item img {
  width: 45px;
  margin-bottom: 9px;
  filter: grayscale(35%) brightness(1.09) contrast(1.13);
}

.success-story img {
  width: 55px;
  float: right;
}

.certifications-badges img {
  width: 40px;
  height: 40px;
  filter: grayscale(10%) brightness(1.1) contrast(1.07);
}

/* Blog Articles */
article {
  background: #212837;
  border-radius: 9px;
  padding: 18px 16px;
  margin-bottom: 18px;
  border-left: 4px solid #FF583D;
  box-shadow: 0 2px 10px 0 #1B223266;
}
article h3 { color: #FF583D; margin-bottom: 7px; }
article a { color: #FF583D; font-weight: 600; }
article a:hover { color: #fff; text-decoration: underline; }

/* Miscellaneous links */
a.cta-button, a.cta-button:visited {
  color: #F3F3F3;
}
a.cta-button:hover, a.cta-button:focus {
  color: #FF583D;
}

/* Forms for contact/thank-you */
main ul li img {
  width: 19px;
  margin-right: 7px;
  vertical-align: middle;
}

/* ========================================================
   FONTS - Fallbacks
=========================================================== */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: local('Oswald'), local('Oswald-Regular'),
       url('https://fonts.gstatic.com/s/oswald/v36/TK3iWkUHHAIjg752GT8G.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'),
       url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me4mxM.woff2') format('woff2');
  unicode-range: U+0000-00FF;
}

/* ========================================================
   NO GRID or COLUMNS - FLEX ONLY
=========================================================== */

/* All .card, .feature, .content-grid, etc. use display: flex + gap: only! */
/* Already implemented above. No display: grid, columns, or absolute positioning for layout. */
