/* ========= CSS 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  height: 100%;
  background: #23242a;
  color: #e1e2e6;
  font-family: 'Montserrat', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
b, strong {
  font-weight: 700;
}

/* ========= BRAND VARIABLE FALLBACKS ========= */
:root {
  --primary: #2A395B;
  --secondary: #EFAF63;
  --accent: #F5F5F5;
  --background: #23242a;
  --card-bg: #2f3135;
  --border: #323542;
  --text: #e1e2e6;
  --text-light: #bfc2ce;
  --text-on-light: #181a1f;
  --shadow-dark: 0 6px 32px 0 rgba(24,28,35,0.18);
  --shadow-bold: 0 3px 24px 0 rgba(42,57,91,0.36);
  --shadow-bright: 0 4px 16px rgba(239,175,99,0.20);
  --radius: 14px;
  --font-display: 'Baloo 2', 'Montserrat', Arial, sans-serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 800;
  color: var(--secondary);
}
h1 { font-size: 2.4rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 18px; color: #94a5cb; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
h5 { font-size: .95rem; margin-bottom: 6px; }
p, li, em, small {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.2rem; }
}
strong {
  font-weight: 800;
  color: var(--secondary);
}

/* Industrial Modern Font Effects */
@import url('https://fonts.googleapis.com/css?family=Baloo+2:800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

/* ========== LAYOUT & SPACING ========== */
.container {
  margin: 0 auto;
  max-width: 1024px;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  background: var(--card-bg);
  padding: 32px 24px;
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border: none;
  width: 100%;
}
@media (max-width: 768px) {
  .section { margin-bottom: 32px; padding: 20px 7px; }
  .content-wrapper { padding: 18px 8px; }
}

.text-section {
  margin-bottom: 20px;
}
.text-section ul, ul {
  padding-left: 18px;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
li {
  position: relative;
  padding-left: 0;
  color: var(--text-light);
  font-size: 1rem;
}

/* ================ HEADER ================ */
header {
  background: var(--primary);
  border-bottom: 2px solid var(--secondary);
  box-shadow: 0 3px 16px rgba(10, 15, 30, 0.13);
  z-index: 10;
  position: sticky;
  top: 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.5rem 2rem 0.5rem 1rem;
}
header nav a img {
  height: 50px;
  width: auto;
  filter: grayscale(100%) contrast(1.2) brightness(0.93);
}
header ul {
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
  align-items: center;
  margin: 0;
}
header ul li {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.2s;
}
header ul li a {
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.97rem;
}
header ul li a:hover, header ul li a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 980px) {
  header nav ul { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 16px;
    top: 16px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 2.1rem;
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 102;
    transition: background 0.15s, box-shadow 0.2s;
    box-shadow: 0 1.5px 8px rgba(42,57,91,0.13);
  }
  .mobile-menu-toggle:active,
  .mobile-menu-toggle:focus {
    background: var(--primary);
    color: var(--secondary);
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,35,42, 0.96);
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.4,1.47,.3,.92);
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 18px 0 0;
  font-size: 2.7rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  box-shadow: var(--shadow-dark);
  transition: background .14s, color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  padding: 16px 0;
  width: 88vw;
  border-radius: 9px;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background .17s, color .12s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ============= MAIN & GRID PATTERNS ============= */
main {
  min-height: 70vh;
  width: 100%;
  margin-bottom: 44px;
  background: var(--background);
  z-index: 1;
}

.card-container,
.card-content,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  margin-bottom: 20px;
  padding: 18px 16px;
  position: relative;
  min-width: 230px;
  max-width: 340px;
}

/* Card micro accent border (industrial effect) */
.card::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--secondary);
  border-radius: 8px 0 0 8px;
  opacity: 0.82;
}

@media (max-width: 768px) {
  .card-container,
  .card-content,
  .card-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    max-width: 100%;
    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; }
}

/* ========= TESTIMONIALS ========= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  color: var(--text-on-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bright);
  margin: 14px 0 24px 0;
  position: relative;
  overflow: visible;
  min-width: 180px;
}
.testimonial-card p,
.testimonial-card strong {
  color: var(--text-on-light) !important;
  font-size: 1.1rem;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  color: var(--secondary);
  position: absolute;
  top: -22px; left: 22px;
  font-size: 3rem;
  opacity: 0.18;
}

@media (max-width: 768px) {
  .testimonial-card { padding: 16px; }
}

/* ========= FEATURE ITEM ========= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bright);
  padding: 22px 18px 12px 18px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
}
.feature-item strong {
  color: var(--secondary);
}

/* ========== CTA BUTTONS ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  padding: 13px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: 
    background 150ms cubic-bezier(.4,.97,.3,.92), 
    color 120ms;
  box-shadow: 0 2px 11px 0 rgba(239,175,99,0.12), 0 0.5px 0.2px #fff4;
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  will-change: transform, background, color;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.04);
}

/* == Subtle Icon Button Effect for Accessibility == */
button, .cta-button {
  outline: none;
}
button:focus-visible, .cta-button:focus-visible {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  padding: 28px 0 18px 0;
  color: var(--text-light);
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -2px 13px 0 rgba(36,36,33,0.14);
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.96;
  transition: color 0.18s, background 0.17s;
  padding: 5px 9px;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
footer .text-section {
  text-align: center;
  margin-top: 10px;
}
footer small {
  color: var(--accent);
  font-size: 0.98rem;
  opacity: 0.8;
}
@media (max-width: 600px) {
  footer {
    font-size: 0.92rem;
    padding-left: 6px; padding-right: 6px;
  }
  footer nav { gap: 8px; }
}

/* ============ COOKIE CONSENT BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--card-bg);
  color: var(--text);
  padding: 26px 14px 19px 24px;
  box-shadow: 0 -3px 32px rgba(24,28,35,0.16);
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 10400;
  border-top: 3px solid var(--secondary);
  font-size: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
  transition: transform 0.4s cubic-bezier(.73,1.4,.39,1.06);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner-message {
  color: var(--text);
  margin-right: auto;
  max-width: 550px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn,
.cookie-settings-btn {
  border: none;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 23px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.15s, transform 0.11s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.035);
}
.cookie-settings-btn {
  background: none;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 8px 18px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 22px 7px 15px 7px;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,32,41,0.68);
  z-index: 10500;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-bold);
  padding: 32px 26px 26px 26px;
  color: var(--text-on-light);
  min-width: 290px;
  max-width: 460px;
  font-family: var(--font-body);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10501;
  animation: popinmodal 0.42s cubic-bezier(.7,2,.4,1.44);
}
@keyframes popinmodal { 0%{ transform: scale(.84); opacity:0; } 96%{ transform: scale(1.04); } 100%{ transform: scale(1); opacity:1; } }
.cookie-modal h3 {
  color: var(--primary);
  margin: 0 0 10px 0;
  font-family: var(--font-display);
}
.cookie-modal p, .cookie-modal label {
  color: var(--text-on-light);
  font-size: 1rem;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-btn,
.cookie-modal .cookie-settings-btn {
  margin-top: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  opacity: 0.85;
  transition: color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--secondary); }

/* ========== FORM ELEMENTS (for future forms) ========== */
input[type="text"], input[type="email"], textarea {
  background: #242435;
  color: #fff;
  border: 1.5px solid var(--border);
  padding: 11px 14px;
  border-radius: 7px;
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border 0.14s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 1.5px solid var(--secondary);
}
label {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 5px;
}

/* ========== UTILITY CLASSES & ACCESS ======= */
.d-flex { display: flex; }
.d-column { flex-direction: column; }
.ai-center { align-items: center; }
.ai-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.pb-0 { padding-bottom: 0; }

/* ========== MICRO INTERACTIONS ========== */
.card, .testimonial-card, .feature-item, .content-wrapper {
  transition: box-shadow 0.18s cubic-bezier(.36,1.45,.3,.92),
              transform 0.12s cubic-bezier(.57,1.52,.33,.98);
}
.card:hover, .testimonial-card:hover, .feature-item:hover, .content-wrapper:hover {
  box-shadow: var(--shadow-bold);
  transform: translateY(-3px) scale(1.012);
}

/* ========== SCROLLBAR & SELECTION ========== */
body::-webkit-scrollbar {
  width: 9px;
  background: #22232b;
}
body::-webkit-scrollbar-thumb {
  background: #353d53;
  border-radius: 5px;
}
::selection {
  background: var(--secondary);
  color: var(--primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .container { max-width: 98vw; padding: 0 8px; }
}
@media (max-width: 768px) {
  .content-wrapper, .feature-item, .testimonial-card {
    border-radius: 9px;
    box-shadow: 0 3px 12px rgba(34,35,42,0.12);
  }
  .container { padding: 0 4px; }
}
@media (max-width: 520px) {
  .container { padding: 0 2px; }
  main { margin-bottom: 22px; }
}

/* ========== VISUAL HIERARCHY: SECTION GAPS ========== */
section + section { margin-top: 20px; }
.content-wrapper + .content-wrapper { margin-top: 18px; }

/* ========== INDUSTRIAL MODERN EFFECTS ========== */
.card, .content-wrapper, .testimonial-card, .feature-item {
  border: 1.6px solid #353d53;
  /* metallic industrial accent "stripes" - subtle left stripe only on .card */
}

/* ========== SHADOWS (METALLIC/URBAN) ========== */
.card, .content-wrapper {
  box-shadow: 0 4px 24px rgba(34,37,64,0.10), 0 1.5px 0.3px #fff2;
}

/* ========== FOCUS & ACCESSIBILITY ========== */
:focus-visible { outline: 2.4px solid var(--secondary); outline-offset: 2.5px; }

/* ========== PREVENT OVERLAPPING ========== */
.card,
.testimonial-card,
.feature-item,
.section,
.content-wrapper {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .content-wrapper, .testimonial-card,
.feature-item {
  gap: 20px;
}

/* ========== HIDE/SHOW UTILITIES ========== */
[hidden], .hide, .d-none { display: none !important; }


/* ========================== */
/*   END OF INDUSTRIAL CSS    */
/* ========================== */
