/* ------------------------
   CSS RESET & BASE STYLES
------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #202731;
  color: #E5E7EB;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #F4B942;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD36A;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F4B942;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  color: #E5E7EB;
}
p {
  margin-bottom: 1.25em;
}
strong {
  color: #F4B942;
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* -------------
   HEADER
------------- */
header {
  background: #1f232b;
  border-bottom: 2px solid #30384a;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
  position: relative;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ACC2D1;
  font-size: 1rem;
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #F4B942;
}
.cta-primary {
  background: linear-gradient(90deg,#425065 0%, #233B57 100%);
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  padding: 10px 32px;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(35, 59, 87, 0.28);
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: 2px solid #4b5563;
}
.cta-primary:hover, .cta-primary:focus {
  background: #F4B942;
  color: #233B57;
  box-shadow: 0 4px 16px rgba(244, 185, 66, 0.18);
}

/* ----------
  HERO SECTION
------------ */
.hero-section {
  background: #233B57;
  background-image: linear-gradient(120deg,#233B57 83%,#425065 100%);
  border-bottom: 2px solid #30384a;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-section h1 {
  color: #F4B942;
}
.hero-section p {
  color: #E5E7EB;
}

/* --------------
  MAIN SECTIONS
--------------- */
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #232b35;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(44, 51, 63, 0.12);
}
main > section.hero-section {
  background: #233B57;
  box-shadow: none;
  border-radius: 0; 
}

/* SPACING and FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #1e232a;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(44, 51, 63, 0.15);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 270px;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #2D3847;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(244, 185, 66, 0.06),0 2px 16px rgba(35, 59, 87, 0.23);
}
.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;
  margin-bottom: 20px;
  background: #f5f5f5;
  color: #232b35;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35, 59, 87, 0.08);
}
.testimonial-card p {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232b35;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #656565;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.challenge-highlight {
  background: #252a32;
  border-left: 6px solid #F4B942;
  border-radius: 8px;
  padding: 28px 26px;
  margin: 24px 0 0 0;
  box-shadow: 0 4px 14px 0 rgba(244,185,66,.06);
  color: #E5E7EB;
}

/* ---------
  FOOTER
---------- */
footer {
  background: #181d23;
  border-top: 2px solid #30384a;
  margin-top: 60px;
  padding: 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding: 36px 20px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #8c98a7;
  font-size: 0.98rem;
  transition: color 0.22s;
}
.footer-nav a:hover {
  color: #F4B942;
}
.footer-info {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-info address {
  color: #708090;
  font-style: normal;
  font-size: 0.97rem;
  margin-left: 12px;
  line-height: 1.7;
}
.footer-info img {
  margin-bottom: 12px;
  filter: grayscale(30%) contrast(1.1);
  width: 50px;
  height: auto;
}

/* -----------
  BUTTONS
------------ */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
  background: #1F232B;
  color: #F4B942;
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(35, 59, 87, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin: 0 8px 8px 0;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #F4B942;
  color: #233B57;
  box-shadow: 0 6px 18px rgba(244, 185, 66, 0.12);
}

/* -----------
  MOBILE MENU
------------ */
.mobile-menu-toggle {
  display: flex;
  background: none;
  align-items: center;
  justify-content: center;
  color: #F4B942;
  font-size: 1.8rem;
  border: none;
  padding: 10px 16px;
  border-radius: 50%;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s;
  z-index: 150;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #494949;
  color: #FFD36A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 42, 57, 0.97);
  box-shadow: 0 0 18px 2px rgba(44, 51, 63, 0.24);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
  z-index: 190;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #F4B942;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 18px 18px 12px 0;
  padding: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD36A;
  background: #232b35;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 28px;
  width: 100%;
}
.mobile-nav a {
  color: #F4B942;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #2d3847;
  width: 95%;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFD36A;
  background: #233B57;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .hero-section .container, .section .container, .content-wrapper {
    padding: 0;
  }
  .section, main > section {
    padding: 28px 6px;
    margin-bottom: 42px;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    padding: 22px 8px;
  }
  .footer-nav {
    gap: 14px;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.22rem;
  }
}

/* -------------
  CARDS & ARTICLES
------------- */
article {
  background: #232b35;
  border-radius: 8px;
  padding: 20px 18px;
  color: #e5e7eb;
  margin-bottom: 18px;
  box-shadow: 0 1.5px 8px rgba(44,51,63,0.1);
  border: 1px solid #314259;
  transition: box-shadow 0.16s, border 0.16s;
}
article:hover, article:focus-within {
  box-shadow: 0 5px 16px rgba(244,185,66,0.09);
  border: 1.5px solid #F4B942;
}

/* ----------
  FORM ELEMENTS
------------ */
input, textarea, select {
  border: 1px solid #3e4853;
  border-radius: 6px;
  padding: 10px 14px;
  background: #232b35;
  color: #F4B942;
  font-size: 1rem;
  margin-bottom: 14px;
  width: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.18s, background 0.18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #F4B942;
  background: #1e2126;
}

/* ------------
  LIST DECORATION
------------- */
ul li, ol li {
  list-style: disc inside;
  padding-left: 0.5em;
  margin-bottom: 8px;
}
ul li img {
  vertical-align: middle;
  margin-right: 8px;
  width: 21px;
  height: 21px;
  opacity: 0.8;
}
ul li strong, ol li strong {
  letter-spacing: 0.015em;
}

/* --------------
  ANIMATIONS
--------------- */
.cta-primary, button, .btn {
  transition: background 0.20s, color 0.18s, box-shadow 0.22s, transform 0.14s;
}
.card, article {
  transition: box-shadow 0.19s, border 0.19s, transform 0.19s;
}
.mobile-menu {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
}

/* -----------------
  VISUAL HIERARCHY
------------------ */
.section h2 {
  margin-bottom: 18px;
  font-size: 2rem;
}
.section h3 {
  font-size: 1.12rem;
  color: #F4B942;
  margin-bottom: 10px;
}
.section ul, .section ol {
  margin-left: 18px;
  margin-bottom: 18px;
  font-size: 1.02rem;
  color: #e2e6ea;
}

/* -------------
  COOKIE CONSENT BANNER
-------------- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #232b35;
  color: #E5E7EB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px 18px 12px;
  z-index: 300;
  box-shadow: 0 -2px 14px 4px rgba(35,59,87,0.18);
  border-top: 3px solid #F4B942;
  gap: 14px;
  animation: bannerSlideIn 0.66s cubic-bezier(.45,0,.55,1);
}
@keyframes bannerSlideIn {
  from { transform: translateY(130px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-consent-banner p {
  color: #E5E7EB;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  padding: 8px 26px;
  background: #233B57;
  color: #F4B942;
  border-radius: 24px;
  border: 2px solid #3a4251;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 0 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(244,185,66,0.06);
  transition: background 0.20s, color 0.20s, box-shadow 0.22s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F4B942;
  color: #233B57;
  box-shadow: 0 3px 9px rgba(244,185,66,0.13);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(26,29,38,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 310;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-container {
  background: #232b35;
  color: #E5E7EB;
  border-radius: 18px;
  box-shadow: 0 8px 34px rgba(35,59,87,0.19);
  max-width: 410px;
  width: 90%;
  padding: 36px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalSlideUp 0.4s;
  position: relative;
}
@keyframes modalSlideUp {
  from { transform: translateY(70px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1e232a;
  border-radius: 8px;
  padding: 10px 18px;
}
.cookie-category-label {
  font-size: 1rem;
}
.cookie-category-toggle {
  width: 38px;
  height: 22px;
  background: #30384a;
  border-radius: 40px;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-category-toggle.active {
  background: #F4B942;
}
.cookie-category-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fafcff;
  border-radius: 50%;
  transition: transform 0.19s;
}
.cookie-category-toggle.active::before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: none;
  font-size: 2.2rem;
  color: #F4B942;
  border: none;
  cursor: pointer;
  z-index: 3;
  transition: color 0.15s, background 0.15s;
  padding: 4px 10px;
  border-radius: 50%;
}
.cookie-modal-close:hover {
  color: #FFD36A;
  background: #181d23;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width:620px) {
  .cookie-modal-container { padding: 20px 6px 10px 6px; }
}

/* -------------
  MISC
------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #222839;
}
::-webkit-scrollbar-thumb {
  background: #313944;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
  background: #415372;
}

/* ------
  ACCESSIBILITY
------- */
:focus {
  outline: 2px dashed #F4B942;
  outline-offset: 2px;
}

/* -------------
  RESPONSIVE FLEX
  (Ensures NO overlap)
-------------- */
@media (max-width: 700px) {
  .card, .article, .testimonial-card, .footer-info {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* -------------
  PRINT SUPPORT
------------- */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}

/* -------------
  INDUSTRIAL MODERN FONTS
------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

body, button, .btn, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
h1, h2, h3, h4, h5, h6, nav a, .cta-primary, .cookie-btn, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* -------------
  FORCED FLEXBOX ONLY -- no grid, no columns
------------- */
/* (already ensured in all containers above per requirements) */
