/*--------------------------------------------------------------
  Industrial Modern CSS for Radiance Stream
  Author: Senior CSS Developer, industrial_modern aesthetic
  WARNING: Never use CSS Grid or columns here.
  --------------------------------------------------------------*/

/*------------------- RESET & NORMALIZE ---------------------*/
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, table, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #171C22;
  color: #EFEFEF;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/*-------------------- VARIABLES (FALLBACKS) --------------------*/
:root {
  --color-primary: #24648B;
  --color-secondary: #F2D574;
  --color-accent: #FFFFFF;
  --color-bg-dark: #171C22;
  --color-bg-card: #232932;
  --color-metal: #888f98;
  --color-surface-light: #ffffff;
  --color-surface-medium: #2e3740;
  --color-shadow: rgba(33,36,39,0.22);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-md: 0 4px 16px var(--color-shadow);
  --transition: 0.3s cubic-bezier(0.77,0.13,0.24,0.91);
}

/*--------------------- TYPOGRAPHY -----------------------*/
@import url('https://fonts.googleapis.com/css?family=Quicksand:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.025em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-size: 1rem;
  color: #e0e1e3;
  margin-bottom: 12px;
}
strong {
  color: var(--color-secondary);
  font-weight: bold;
  letter-spacing: 0.01em;
}
small {
  font-size: 0.95em;
  color: #b0b3b7;
  margin-top: 4px;
  display: block;
}
.text-section h3 {
  font-size: 1.1rem;
  margin-top: 16px;
  margin-bottom: 8px;
}

/*----------------------- CONTAINER ---------------------*/
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

/*--------------------- FLEXBOX UTILITIES -----------------*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 20px;
  flex: 1 1 250px;
  min-width: 265px;
  color: var(--color-accent);
  border: 1px solid rgba(180,187,190,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover, .card:focus{
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 8px 28px var(--color-shadow);
}
.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: var(--color-surface-light);
  color: #222831;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 30px rgba(36,100,139,0.07);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-primary);
  flex: 1 1 330px;
  min-width: 320px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/*--------------------- HEADER / NAVBAR -------------------*/
header {
  width: 100%;
  background: #161A1F;
  border-bottom: 1.5px solid #222831;
  position: sticky;
  top: 0;
  z-index: 18;
  box-shadow: 0 1px 10px rgba(17,24,31,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 18px;
}
.header-logo, header a img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.09rem;
  opacity: 0.93;
  transition: color 0.19s;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-secondary);
  width: 0%;
  transition: width 0.22s;
  position: absolute;
  left: 0;
  bottom: -3px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 60%;
}
.cta-primary {
  background: linear-gradient(90deg,#F2D574 88%, #e4b810 100%);
  color: #222831;
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2.5px 10px rgba(36,100,139,0.09);
  letter-spacing: 0.04em;
  border: 2px solid #bda12e;
  transition: box-shadow var(--transition), background var(--transition), color var(--transition);
  margin-left: 12px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg,#ecd04e 65%,#f3d882 100%);
  color: #171C22;
  box-shadow: 0 4px 32px #F2D57433;
}

/*--------------------- MOBILE NAVIGATION -----------------*/
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #161A1F;
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.68,-0.55,0.27,1.55);
  box-shadow: 3px 0 40px rgba(36,100,139,0.17);
  will-change: transform;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: var(--color-secondary);
  margin: 20px 30px 0 0;
  cursor: pointer;
  border-radius: 50%;
  border: none;
  padding: 0 6px;
  transition: background .16s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(242,213,116,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 36px 38px;
}
.mobile-nav a, .mobile-nav a:visited {
  color: var(--color-accent);
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  font-size: 1.3rem;
  opacity: 0.97;
  padding: 9px 0 9px 0;
  border-radius: var(--radius-sm);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(242,213,116,0.12);
  color: var(--color-secondary);
}

/* Show/hide main-nav and mobile menu on breakpoints */
@media (max-width: 1040px) {
  .main-nav {
    gap: 18px;
  }
  .container {
    padding-left: 6px; padding-right: 6px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
  }
  .cta-primary {
    padding: 12px 14px;
    margin-left: 4px;
    font-size: 0.97rem;
  }
}
@media (max-width: 820px) {
  header .container {
    flex-wrap: wrap;
    gap: 4px;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: fixed;
    right: 26px;
    top: 14px;
    z-index: 100;
    padding: 10px 18px;
    background: #222831;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-metal);
    color: var(--color-secondary);
    font-size: 2rem;
    font-family: 'Quicksand', 'Lato', Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(36,100,139,0.11);
    transition: box-shadow 0.2s;
  }
  .mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    box-shadow: 0 5px 20px #F2D57433;
  }
  .mobile-menu {
    padding-top: 54px;
  }
  header .container {
    justify-content: space-between;
    gap: 0;
  }
}
@media (max-width:480px) {
  .container {
    padding-left: 3px; padding-right: 3px;
  }
  .mobile-nav {
    margin: 30px 10px;
    gap: 21px;
  }
}

/*------------ SECTIONS, CARDS, WRAPPERS ------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 44px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .content-wrapper > * {
    flex: 1 1 0;
    min-width: 0;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 28px 20px;
  flex: 1 1 250px;
  min-width: 265px;
  color: var(--color-accent);
  border: 1px solid rgba(180,187,190,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover, .card:focus{
  transform: translateY(-6px) scale(1.018);
  box-shadow: 0 8px 28px var(--color-shadow);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/*--------------- TESTIMONIALS -----------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-surface-light);
  color: #222831;
  border-radius: var(--radius-md);
  box-shadow: 0 5px 30px rgba(36,100,139,0.07);
  margin-bottom: 20px;
  border-left: 6px solid var(--color-primary);
  flex: 1 1 330px;
  min-width: 320px;
  font-family: 'Lato', Arial, sans-serif;
}
.testimonial-card p {
  font-size: 1.07rem;
  margin-bottom: 0;
  color: #222831;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-size: 0.96em;
  margin-left: 12px;
  font-family: 'Quicksand', Arial, sans-serif;
  font-style: normal;
}
.testimonial-card small {
  color: #595e64;
  font-size: 0.92em;
  margin-top: 2px;
}

/* ----------------- BUTTONS, INTERACTIONS --------------- */
button,
.cta-primary,
.mobile-menu-toggle {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition), transform 0.15s;
}
button:active,
.cta-primary:active,
.mobile-menu-toggle:active {
  transform: scale(0.97);
  filter: brightness(0.97);
}
/* Button variants in cookie/callout */
.btn-cookie, .btn-cookie-alt, .btn-cookie-outline {
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  font-size: 1.04rem;
  padding: 10px 28px;
  border-radius: var(--radius-md);
  margin: 0 7px 0 0;
  cursor: pointer;
  font-weight: 700;
  outline: none;
  transition: background 0.2s, color 0.16s, box-shadow 0.2s;
  border: 2px solid var(--color-metal);
  box-shadow: 0 2px 12px rgba(36,100,139,0.05);
}
.btn-cookie {
  background: linear-gradient(92deg,var(--color-secondary) 91%, #e4b810 100%);
  color: #171C22;
  border-color: #ceb42d;
}
.btn-cookie:hover, .btn-cookie:focus {
  background: #fff5cc;
  color: #18303f;
  border-color: var(--color-primary);
}
.btn-cookie-alt {
  background: #2e3740;
  color: var(--color-accent);
  border-color: var(--color-metal);
}
.btn-cookie-alt:hover, .btn-cookie-alt:focus {
  background: #171C22;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.btn-cookie-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-secondary);
}
.btn-cookie-outline:hover { background: var(--color-secondary); color: #171C22; }

/* ------------------- LISTS & ICONS ----------------- */
ul li, ol li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
}
ul li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-secondary);
  opacity: 0.8;
  box-shadow: 0 1px 3px rgba(36,100,139,0.10);
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-left: -27px;
}
@media (max-width:600px) {
  ul li, ol li { padding-left: 16px;}
  ul li img { margin-left: -12px; }
}

/*-------------------- FOOTER ----------------------*/
footer {
  background: #181D23;
  border-top: 1.5px solid #232932;
  padding: 38px 0 24px;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  padding-left: 16px;
  padding-right: 16px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.06rem;
  color: #d7d7d7;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  opacity: 0.84;
  font-size: 1.01rem;
  font-family: 'Quicksand', 'Lato', Arial, sans-serif;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #fffbe7;
}
@media (max-width:800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/*------------------- RESPONSIVE SPACING/TYPO ------------------*/
@media (max-width: 1200px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .container { padding-left: 14px; padding-right:14px; }
}
@media (max-width: 768px) {
  section, .section {
    padding: 24px 0 24px 0;
    margin-bottom: 38px;
  }
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.08rem; }
  .card-container,.content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 90vw;
    width: 100%;
    padding: 20px 9px;
  }
  .testimonial-card {
    min-width: 88vw;
    padding: 14px 6px 16px 10px;
  }
}
@media (max-width:400px) {
  h1 { font-size: 1.02rem; }
}

/*--------------------- COOKIE CONSENT BANNER -----------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #191F26;
  color: #fff;
  padding: 18px 16px 12px 18px;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -7px 24px rgba(36,100,139,0.08);
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  z-index: 201;
  transition: transform 0.3s, opacity 0.3s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0; transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  font-size: 1.05em;
  color: #fffbe7;
  flex: 1 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width:660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 5px 15px 11px;
  }
}

/*----- COOKIE SETTINGS MODAL ----*/
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%; width: 97vw; max-width: 390px;
  background: #232932;
  color: #fffbe7;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px #171c226f;
  z-index: 205;
  padding: 32px 24px 28px 24px;
  transform: translate(-50%,-48%) scale(1);
  opacity: 1;
  transition: transform .33s, opacity .25s;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-38%) scale(0.95);
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  margin-right: 3px;
}
.cookie-modal .cookie-actions {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 480px) {
  .cookie-modal { padding: 14px 6px; }
  .cookie-modal h2 { font-size: 1.1rem; }
}

/*------------------- MICRO-INTERACTIONS -------------------*/
.card, .testimonial-card, button, .cta-primary, .mobile-menu,
section, .mobile-nav a {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), border var(--transition), transform 0.18s;
}
.card:active, .testimonial-card:active, .cta-primary:active {
  transform: scale(0.98);
}
.testimonial-card:hover {
  box-shadow: 0 10px 38px #22283110,0 1.5px 10px #24648b26;
  border-left-width: 10px;
}

/*----------------- CUSTOM DECORATIVE EFFECTS -----------------*/
h1,h2 {
  position: relative;
  z-index: 2;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  border-radius: 3px;
  background: var(--color-secondary);
  margin-top: 11px;
  margin-bottom: 0;
  opacity: 0.38;
}

/* Metalic accent bar to some cards */
.card::before {
  content: '';
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg,#959ca2 0, #dae0e2 97%);
  margin-bottom: 18px;
  opacity: 0.34;
}

/* Industrial modern subtle corner accents */
.card,
.testimonial-card,
.section {
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px var(--color-shadow);
}

/*-------------------- MISC / HELPER --------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #232C36;
}
::-webkit-scrollbar-thumb {
  background: #2c3440;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555d63;
}
::selection {
  background: var(--color-secondary);
  color: #222831;
}

/* Ensure accent color highlights for links */
a:focus {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

/*----------------- FORMS, CONTACT (if relevant) -------------------*/
input, textarea, select {
  background: #242a32;
  border: 1.5px solid #444a4f;
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 11px 9px;
  margin-bottom: 12px;
  width: 100%;
  font-size: 1rem;
  box-shadow: 0 1.2px 8px #22283114;
  transition: border var(--transition);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  background: #1d2127;
}

/*------------------- MEDIA QUERIES: GENERAL -------------------*/
@media (max-width:700px) {
  section, .section {
    padding-left: 6px; padding-right:6px;
  }
  h1::after, h2::after {
    width: 28px;
    height: 4px;
  }
}

/*------------------ Z-INDEX: Modal & Overlays -------------------*/
.mobile-menu { z-index: 99; }
.cookie-banner { z-index: 201; }
.cookie-modal { z-index: 205; }

/*------------------ A11Y / FOCUS STYLES ---------------------*/
:focus-visible {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}

/*------------------- HIDDEN (for JS usage) ------------------------*/
.hide, .hidden {
  display: none !important;
  opacity: 0!important;
  pointer-events: none !important;
  height: 0 !important;
}

/*------------------ COOKIE CATEGORIES ICON (simulated) -----------*/
.cookie-modal .icon-fixed {
  color: var(--color-secondary);
  margin-right: 6px;
  font-size: 1.13em;
}

/*------------------- PRINT SAFE -------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
}

/*--------------------------------------------------*/
/*---- END OF INDUSTRIAL MODERN CSS FOR RADIANCE STREAM ----*/
