/* --- CSS RESET & BASE --- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background-color: #171C22;
  color: #ECEEF1;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #FFD600;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFFFFF;
  text-decoration: underline;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFD600;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.6rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }

p, ul, ol, dl {
  color: #ECEEF1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
ul, ol {
  padding-left: 20px;
}
li {
  margin-bottom: 10px;
}
dl {
  margin-bottom: 20px;
}
dt {
  font-weight: bold;
  color: #FFD600;
  margin-top: 12px;
}
dd {
  margin-left: 0;
}

/* --- LAYOUT WRAPPERS --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
main {
  padding-top: 36px;
  padding-bottom: 36px;
}
.content-wrapper {
  width: 100%;
  background: rgba(34,62,87,0.6);
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(34, 62, 87, 0.18), 0 1.5px 0 0 #FFD600 inset;
  margin-bottom: 36px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- FLEX SPACINGS (Required Classes) --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #232830;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34, 62, 87, 0.15);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(255,214,0,0.18), 0 2px 14px 0 rgba(34, 62, 87, 0.26);
  transform: translateY(-3px) 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-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 250px;
  background: #FFFFFF;
  color: #223E57;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(34, 62, 87, 0.22);
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #223E57;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  display: block;
  color: #777b8b;
  font-size: 0.96rem;
  font-style: italic;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- BRAND BUTTONS --- */
.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 22px;
  padding: 13px 34px;
  background: #FFD600;
  color: #223E57;
  box-shadow: 0 2px 10px 0 rgba(255, 214, 0, 0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
}
.btn.primary {
  background: #FFD600;
  color: #223E57;
}
.btn.primary:hover, .btn.primary:focus {
  background: #223E57;
  color: #FFD600;
  box-shadow: 0 5px 18px 0 rgba(34, 62, 87, 0.16);
  outline: none;
}
.btn.secondary {
  background: #223E57;
  color: #FFD600;
}
.btn.secondary:hover, .btn.secondary:focus {
  background: #FFD600;
  color: #223E57;
}

/* --- HEADER NAVIGATION --- */
header {
  background: #181B1E;
  box-shadow: 0 2px 10px 0 rgba(34,62,87,0.18);
  padding: 0 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header img {
  height: 52px;
  margin: 14px 22px 14px 28px;
}
.main-navigation {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  background: none;
  color: #FFD600;
  padding: 7px 17px;
  border-radius: 16px;
  transition: background 0.12s, color 0.12s;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: #FFD600;
  color: #223E57;
  text-decoration: none;
}
.main-navigation .btn.primary {
  margin: 0 0 0 18px;
  padding: 11px 24px;
  font-size: 1rem;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: #223E57;
  color: #FFD600;
  border: none;
  font-size: 2.1rem;
  padding: 6px 18px;
  border-radius: 50%;
  cursor: pointer;
  margin-right: 12px;
  transition: background 0.16s, color 0.12s;
  z-index: 1500;
  line-height: 1;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFD600;
  color: #223E57;
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(17,20,23,0.96);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.55,.08,.23,1);
  width: 100vw;
  height: 100vh;
  padding-top: 12px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #FFD600;
  font-size: 2.4rem;
  margin: 18px 24px 10px 0;
  cursor: pointer;
  transition: color 0.14s;
  z-index: 2500;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD600;
  text-shadow: 0 0 8px #FFD60090;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 12px 4px;
  color: #FFD600;
  background: none;
  border: none;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD600;
  color: #223E57;
  outline: none;
}

/* --- FOOTER --- */
footer {
  background: #1D232B;
  color: #d8dae2;
  padding: 40px 0 18px 0;
  border-top: 2px solid #223E57;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
footer img {
  height: 38px;
  margin-bottom: 7px;
}
.footer-navigation {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-navigation a {
  color: #FFD600;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2px 10px;
  border-radius: 12px;
  transition: background 0.12s, color 0.12s;
}
.footer-navigation a:hover, .footer-navigation a:focus {
  background: #FFD600;
  color: #223E57;
}
.contact-info {
  font-size: 0.96rem;
  color: #BCD2E4;
  text-align: center;
}

/* --- MANDATORY RESPONSIVE --- */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .content-wrapper { padding: 28px 7vw; }
  .footer-navigation { gap: 13px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding-right: 0px;
  }
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 42px;
  }
  .content-wrapper {
    padding: 18px 5vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 567px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: 1rem; }
  .content-wrapper { padding: 13px 4vw; }
  .testimonial-card { padding: 14px; font-size: 0.95rem; }
  .btn { font-size: 0.98rem; padding: 11px 12vw; min-width: 146px; }
  footer { padding-left: 5px; padding-right: 5px; }
}

/* --- VISUAL HIERARCHY --- */
strong { color: #FFD600; font-weight: bold; }
blockquote {
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-style: italic;
  position: relative;
  margin-left: 0;
}
blockquote:before {
  content: open-quote;
  color: #223E57;
  font-size: 2.4em;
  position: absolute;
  left: -16px;
  top: -13px;
  opacity: 0.13;
}

/* --- INDUSTRIAL MODERN STYLING --- */
body {
  background-color: #171C22;
  background-image:
    repeating-linear-gradient(117deg,rgba(34,62,87,0.13) 0,rgba(34,62,87,0.13) 2px,transparent 2px,transparent 28px);
}
.content-wrapper, .card {
  border: 1.5px solid #273442;
  border-left: 7px solid #FFD600;
  background: rgba(33,40,49,0.99);
}
/* Simulate metallic accent with shadow and a yellow edge */

/* Industrial font treatment */
h1, h2, h3, .btn, .main-navigation a, .footer-navigation a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Divider - Section Separator */
.section:not(:last-child) {
  border-bottom: 2px dashed #233348;
}

/* Cards and lists for services */
ul, ol {
  background: transparent;
}

/* --- INTERACTIVE MICRO-ANIMATIONS --- */
.btn, .main-navigation a, .footer-navigation a {
  transition: background 0.18s, color 0.18s, transform 0.11s;
}
.btn:active {
  transform: scale(0.98);
}

.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 38px -12px #FFD60088, 0 6px 16px 0 #223E57c0;
  z-index: 5;
  transition: box-shadow 0.2s;
}

/* --- TYPOGRAPHIC SCALE --- */
p, ul, ol, dl, dd { font-size: 1rem; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.22rem; }

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #1E2432;
  color: #FFF;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 16vw 18px 10vw;
  box-shadow: 0 -4px 24px 0 #131a1f99;
  z-index: 5100;
  font-family: 'Open Sans', Arial,sans-serif;
  border-top: 2.5px solid #FFD600;
  transition: transform 0.53s cubic-bezier(.4,1,.52,.94);
  min-height: 80px;
  animation: cookieBannerIn 0.56s ease;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  flex: 1;
  color: #ECD;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .btn {
  margin: 0;
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 17px;
}
.cookie-banner .btn.cookie-settings {
  background: #223E57;
  color: #FFD600;
  border: 1.2px solid #FFD600;
}
.cookie-banner .btn.cookie-settings:hover,
.cookie-banner .btn.cookie-settings:focus {
  background: #FFD600;
  color: #223E57;
}

/* Cookie Modal (settings) */
.cookie-modal-backdrop {
  position: fixed; left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17, 24, 32, 0.8);
  z-index: 9002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.28s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #212837;
  border-radius: 18px;
  box-shadow: 0 8px 30px 0 #FFD60066, 0 2px 18px #223E57bb;
  border: 1.7px solid #FFD600;
  padding: 36px 24px 28px 30px;
  max-width: 445px;
  color: #FFF;
  font-family: 'Open Sans', Arial, sans-serif;
  z-index: 9400;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalPopIn 0.38s cubic-bezier(.31,1,.65,1);
}
@keyframes modalPopIn {
  from { transform: scale(0.89) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  color: #FFD600;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 9500;
  transition: color 0.12s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #FFF;
  outline: none;
}
.cookie-modal h3 {
  color: #FFD600;
  margin-bottom: 13px;
  font-size: 1.22rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category label {
  flex: 1;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  -webkit-appearance: none;
  appearance: none;
  background: #273442;
  outline: none;
  border-radius: 10px;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
  border: 1px solid #FFD60066;
}
.cookie-toggle:checked {
  background: #FFD600;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ECEEF1;
  transition: left 0.15s, background 0.14s;
}
.cookie-toggle:checked:before {
  left: 17px;
  background: #223E57;
}

/* --- SCROLLBAR STYLING --- */
body::-webkit-scrollbar {
  width: 12px;
  background: #232830;
}
body::-webkit-scrollbar-thumb {
  background: #223E57;
  border-radius: 7px;
  border: 2px solid #232830;
}
body::-webkit-scrollbar-thumb:hover {
  background: #FFD600;
}

/* --- UTILITY SPACING & CLASSES (for HTML) --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

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

/* --- FOCUS VISIBLE --- */
a:focus-visible, .btn:focus-visible {
  outline: 2.5px solid #FFD600;
  outline-offset: 2px;
}

/* --- Z-INDEX STACKING --- */
header { z-index: 1000; }
.mobile-menu { z-index: 2100; }
.cookie-banner { z-index: 5100; }

/* --- CARD CONTAINERS --- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

/* --- FORM/LISTS --- */
input, select, textarea {
  background: #232830;
  border: 1.5px solid #263648;
  color: #FFD600;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD600;
  outline: none;
}
label { color: #FFD600; font-size: 1rem; }

/* --- HIDE ELEMENTS (For JS) --- */
.hide {
  display: none !important;
  visibility: hidden !important;
}

/* --- ADDITIONAL ACCESSIBILITY / HOVER --- */
.btn:focus-visible, .main-navigation a:focus-visible, .footer-navigation a:focus-visible {
  outline: 2px solid #FFD600;
  outline-offset: 1.5px;
}
:-webkit-any(.btn, .main-navigation a, .footer-navigation a):active {
  transform: scale(0.96);
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #BFD3F7; opacity: 0.92; }
::-moz-placeholder { color: #BFD3F7; opacity: 0.92; }
:-ms-input-placeholder { color: #BFD3F7; opacity: 0.92; }
::placeholder { color: #BFD3F7; opacity: 0.92; }

/* --- END --- */
