/* 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, 
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #21242a;
  color: #E3E5E8;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #A0B0C2;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #184A78;
  outline-offset: 2px;
}

/* BRAND FONTS */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #23282f;
  border-radius: 14px;
  box-shadow: 0 3px 12px 0 rgba(18,29,40,0.08);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #252B33;
  box-shadow: 0 2px 8px rgba(18,29,40,0.10);
  border: 1.5px solid #2F3E48;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, border-color 0.18s;
  overflow: hidden;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px #184A7855;
  border-color: #184A78;
}
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO BANNER */
.hero {
  background: linear-gradient(98deg, #1C2732 65%, #232D39 100%);
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
  border-bottom: 4px solid #2F3E48;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
  margin-bottom: 0;
}
.hero h1 {
  color: #F5F6FA;
}
.hero p {
  color: #B0B6B9;
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 12px;
}

/* FEATURES SECTION LISTS */
.features ul,
.services ul,
.article-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features ul li,
.services ul li,
.article-list ul li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #23282f;
  border-left: 4px solid #184A78;
  border-radius: 7px;
  padding: 20px 22px;
  margin-bottom: 8px;
  min-width: 0;
}
.features ul li img,
.services ul li img {
  width: 44px;
  height: 44px;
  filter: brightness(0.92) contrast(1.25) grayscale(0.24);
  margin-top: 2px;
}
.features .text-section,
.services .text-section {
  flex: 1;
}
.features .text-section h3,
.services .text-section h3 {
  color: #F5F6FA;
  font-size: 1.1em;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.features .text-section p,
.services .text-section p {
  color: #AFBAC5;
  font-size: 1em;
}

/* FILTER BAR */
.filter {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #A0B0C2;
}
.filter a {
  color: #A0B0C2;
  padding: 2px 10px;
  border-radius: 16px;
  border: none;
  font-weight: 500;
  transition: background 0.15s;
}
.filter a.active, .filter a:hover {
  background: #184A78;
  color: #fff;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F6FA;
  color: #23282f;
  border-radius: 9px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-left: 5px solid #184A78;
  box-shadow: 0 2px 10px rgba(18,29,40,0.10);
  position: relative;
}
.testimonial-card p {
  font-size: 1.03em;
  line-height: 1.5;
  color: #23282f;
  margin-bottom: 0;
}
.testimonial-meta {
  font-weight: 600;
  font-size: 0.95em;
  color: #184A78;
  letter-spacing: 0.01em;
}

.testimonial-card::before {
  content: '\201D';
  color: #A0B0C2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 28px;
  position: absolute;
  top: 16px;
  left: 16px;
  opacity: 0.21;
  z-index: 1;
}

/* BUTTONS */
.cta-primary, .cta-secondary, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: #184A78;
  color: #fff;
  border-radius: 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05em;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  box-shadow: 0 1px 8px rgba(24,74,120,0.08);
  transition: background 0.22s, box-shadow 0.18s, transform 0.14s;
  cursor: pointer;
  margin-top: 6px;
}
.cta-primary:hover, .cta-primary:focus,
.cta-secondary:hover, .cta-secondary:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #13395a;
  color: #fff;
  box-shadow: 0 4px 20px #184a7877;
  transform: translateY(-1px) scale(1.03);
}
.cta-secondary {
  background: #A0B0C2;
  color: #23282F;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #184A78;
  color: #fff;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #1B2229;
  border-bottom: 1.5px solid #2F3E48;
  box-shadow: 0 1.5px 32px #181B1E0A;
  z-index: 102;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 76px;
}
header a img {
  height: 38px;
}
nav {
  display: flex;
  gap: 22px;
}
nav a {
  color: #A0B0C2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.012em;
  position: relative;
  padding: 5px 2px;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: #fff;
}
nav a.active {
  color: #184A78;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  color: #A0B0C2;
  margin-left: 18px;
  padding: 4px 10px 4px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #23282f;
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #21242aF2;
  box-shadow: 2px 0 24px #000b1b33;
  z-index: 9999;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(.39,.78,.39,1.12);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #A0B0C2;
  font-size: 2.2em;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 9999;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23282f;
  color: #184A78;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 80px 0 0 32px;
}
.mobile-nav a {
  color: #F5F6FA;
  font-size: 1.25em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 0;
  border-radius: 7px;
  transition: background 0.135s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #184A78;
  color: #FFF;
}

/* Hide nav on mobile, show burger */
@media (max-width: 960px) {
  nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* Hide mobile menu by default on desktop */
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #181B1E;
  color: #8995a4;
  padding: 42px 0 10px 0;
  width: 100%;
  border-top: 2px solid #232D39;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #A0B0C2;
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F5F6FA;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-contact img {
  width: 48px;
  height: auto;
  border-radius: 9px;
  background: #23282f;
  padding: 4px;
}
.footer-contact .text-section {
  color: #A0B0C2;
  font-size: 0.96em;
  line-height: 1.45;
}
.footer-note {
  color: #3a4556;
  margin-left: 2px;
  font-size: 0.97em;
  padding-top: 10px;
}

/* CONTENT BLOCKS */
.text-section {
  margin-bottom: 24px;
  color: #A0B0C2;
  font-size: 1em;
  line-height: 1.68;
}
.text-section ul {
  margin: 12px 0 12px 16px;
}
.text-section li {
  margin-bottom: 8px;
}
.text-section a {
  color: #184A78;
  transition: color 0.17s;
}
.text-section a:hover, .text-section a:focus {
  color: #A0B0C2;
  text-decoration: underline;
}

.article-list ul li {
  flex-direction: column;
  gap: 7px;
  background: #23282f;
  border-left: 4px solid #184A78;
  padding: 18px 22px;
}
.article-list ul li h3 {
  margin-bottom: 2px;
  color: #F5F6FA;
  font-size: 1.12em;
}
.article-list ul li p {
  color: #A0B0C2;
  font-size: 0.99em;
}
.article-list ul li p span {
  color: #726868;
  font-size: 0.97em;
}

/* CONTACT SECTION */
.contact-section .text-section p {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  color: #A0B0C2;
}
.contact-section .text-section img {
  width: 23px;
  height: 23px;
  display: inline-block;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
  .hero {
    padding: 48px 0 28px 0;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .hero {
    padding: 40px 0 26px 0;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container {
    padding: 0 7px;
  }
  .hero {
    padding: 25px 0 12px 0;
  }
  .section {
    padding: 24px 7px;
    border-radius: 7px;
  }
  .card-content {
    padding: 13px;
  }
  .testimonial-card {
    padding: 15px 13px;
    border-radius: 6px;
  }
  .footer-contact img { width: 36px; }
}

@media (max-width: 768px) {
  .content-wrapper {
    gap: 22px;
    margin-bottom: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .features ul, .services ul, .article-list ul {
    gap: 14px;
  }
}

/* SPACING - MANDATORY */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* COOKIES BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #23282f;
  color: #E3E5E8;
  z-index: 10000;
  box-shadow: 0 -2px 16px #181B1E33;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 18px;
  font-size: 0.98rem;
  animation: slideUpBanner 0.63s cubic-bezier(.38,.93,.45,1.2);
}
@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  flex: 1;
  color: #A0B0C2;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  min-width: 110px;
}
.cookie-btn.settings {
  background: #A0B0C2;
  color: #232D39;
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #184A78;
  color: #fff;
}

/* COOKIES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10001;
  background: rgba(33,36,42,0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  transition: opacity 0.23s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #23282f;
  border-radius: 14px;
  padding: 36px 28px 28px 28px;
  min-width: 350px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 16px 40px #21242a55;
  color: #F5F6FA;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: slideDownModal 0.25s cubic-bezier(.39,.78,.39,1.12);
}
@keyframes slideDownModal {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: #F5F6FA;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #262B32;
  border-radius: 8px;
  padding: 13px 14px;
  margin-bottom: 9px;
}
.cookie-modal-content .cookie-category label {
  color: #A0B0C2;
  font-size: 1em;
}
.cookie-modal-content .toggle-switch {
  position: relative;
  width: 44px;
  height: 22px;
  display: inline-block;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: #A0B0C2;
  border-radius: 22px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.15s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #184A78;
}
.toggle-slider:before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 2px; top: 2px;
  background: #F5F6FA;
  border-radius: 50%;
  transition: transform 0.15s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 20px;
  background: none;
  border: none;
  color: #939da7;
  font-size: 1.55em;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.19s, color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #23282f;
  color: #184A78;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
*:focus-visible {
  outline: 2px solid #184A78;
}
a, .cta-primary, .cta-secondary, .cookie-btn, .toggle-slider {
  transition: background 0.17s, color 0.16s, box-shadow 0.18s, border-color 0.13s, transform 0.15s;
}

/* SHADOWS & METALLIC ACCENTS */
.card, .section, .hero, .testimonial-card, .cookie-modal-content {
  box-shadow: 0 3px 14px #181B1E22;
}
header, footer, .cookie-banner, .cookie-modal-content {
  border-top: 2.5px solid #232D39;
}
.card, .testimonial-card {
  border-bottom: 2.5px solid #A0B0C2;
}

/* INDUSTRIAL MODERN ACCENTS */
.card, .section, .hero, .features ul li, .article-list ul li, .testimonial-card, .cookie-banner, .cookie-modal-content {
  /* Simulating metallic textures through shadow & border highlights (subtle) */
  border-right: 1.5px solid #232D39;
  border-top: 1.5px solid #232D39;
}

/* Hide mobile menu when not open */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
  transition: transform 0.35s, opacity 0.18s;
  will-change: transform, opacity;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}

/* Prevent unwanted overflow */
body.menu-open {
  overflow: hidden;
}

/* Utility classes (optional for structure) */
.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ACCESSIBILITY: High contrast for testimonials and reviews */
.testimonial-card, .testimonial-card * :not(a) {
  color: #23282f !important;
  background: transparent;
}

/* Extra vertical spacing for content cards and sections */
.section, .card, .testimonial-card, .features ul li, .services ul li {
  margin-bottom: 24px;
}

/* Always keep minimum 20px spacing between blocks */
.section:not(:last-child),
.card:not(:last-child),
.text-section:not(:last-child),
.content-wrapper:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Form controls */
input[type="text"],
input[type="email"],
input[type="password"],
textarea, select {
  padding: 11px 16px;
  border: 1.5px solid #2F3E48;
  background: #21242a;
  border-radius: 5px;
  color: #F5F6FA;
  font-size: 1em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 18px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
  border-color: #184A78;
  outline: none;
}

::-webkit-input-placeholder { color:#A0B0C2; }
::-moz-placeholder { color:#A0B0C2; }
:-ms-input-placeholder { color:#A0B0C2; }
::placeholder { color:#A0B0C2; }

/* Hide elements visually */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* INDUSTRIAL MODERN SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #20242b;
}
::-webkit-scrollbar-thumb {
  background: #3D4E5A;
  border-radius: 8px;
  border: 2px solid #232D39;
}

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