/* ============================
   GlimMints Industrial Modern CSS
   ============================ */

/* --- 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, 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 {
  scroll-behavior: smooth;
}

body {
  background-color: #1d2329;
  color: #ebedee;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
}
a {
  color: #FFD166;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fffbe5;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}

/* --- BRAND & FONT FACE --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

:root {
  --color-primary: #163152;
  --color-primary-rgb: 22, 49, 82;
  --color-secondary: #2F4858;
  --color-secondary-rgb: 47, 72, 88;
  --color-accent: #FFD166;
  --color-accent-dark: #e6bb2b;
  --color-bg: #1d2329;
  --color-surface: #23272e;
  --color-light: #f1f1f1;
  --color-border: #464d56;
  --color-button-hover: #23272e;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-primary);
  box-shadow: 0 2px 8px rgba(20,28,39,0.15);
  position: relative;
  width: 100%;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  gap: 16px;
}
header img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 32px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 700;
  color: #f1f1f1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 16px;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-accent);
}

/* CTA Button in Header */
header .cta.primary {
  margin-left: 20px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  display: none;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-accent);
  background: var(--color-secondary);
}

/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(22,49,82, 0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-radius: 6px;
  padding: 10px 12px;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--color-accent);
  background: var(--color-secondary);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  padding: 14px 0 6px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
}

/* Hide desktop nav on mobile, show mobile-menu-toggle */
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 700px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding: 12px 10px;
  }
  header img {
    height: 36px;
  }
}


/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  min-height: 60vh;
  background: var(--color-bg);
  width: 100%;
  position: relative;
  z-index: 1;
}

/* --- SPACING & FLEXBOX PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(22,31,41,0.09), 0 1px 5px #10161b22;
  margin-bottom: 20px;
  position: relative;
  padding: 26px 30px 26px 30px;
  flex: 1 1 280px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.22s, border 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 24px rgba(22,49,82,0.24);
  border-color: var(--color-accent);
}

.content-grid, .feature-grid, .benefit-grid, .value-grid, .topic-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 {
  background: #fff;
  color: #1d2329;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(22,31,41,0.16);
  border-left: 6px solid var(--color-accent);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 480px;
  font-size: 17px;
}
.testimonial-card .star-rating {
  font-size: 20px;
  color: var(--color-accent);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FLEX ADJUSTMENTS --- */
.feature-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px 20px;
  align-items: stretch;
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  background: #23272e;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20,28,39,0.09);
  margin-bottom: 0;
  border: 1.5px solid var(--color-border);
}
.feature-icon img {
  width: 30px; height: 30px;
  filter: grayscale(30%);
}
.feature-descriptions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
  gap: 5px;
}

/* For rows of icons + description pairs */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-icon, .feature-descriptions {
    min-width: unset;
    margin: 0;
  }
}
.value-grid, .benefit-grid, .topic-grid {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}
.value-grid > div, .benefit-grid > div, .topic-grid > div {
  background: var(--color-surface);
  border-radius: 10px;
  box-shadow: 0 2px 10px #181f2711;
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  border: 1px solid var(--color-border);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  color: #f8f9fa;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.7rem;
  color: var(--color-accent);
  text-shadow: 0 2px 12px #0006, 0 1px 0px #FFD16634;
}
h2 {
  font-size: 2.1rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.05rem;
}
p, li, ul, div {
  font-size: 1rem;
}
.text-section h1, .text-section h2 {
  margin-bottom: 14px;
  color: var(--color-accent);
}
.text-section p, .text-section ul li {
  color: #f1f1f1;
  font-size: 1.11rem;
}

/* --- CTA BUTTONS & LINKS --- */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 18px;
  letter-spacing: 0.03em;
  margin-top: 18px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 2px 8px #181f2731;
  outline: none;
}
.cta.primary {
  background-color: var(--color-accent);
  color: #1d2329;
  border: 1.5px solid var(--color-accent);
}
.cta.primary:hover, .cta.primary:focus {
  background-color: var(--color-accent-dark);
  color: #163152;
  box-shadow: 0 8px 24px #FFD16633;
  border-color: #fff59d;
}
.cta.secondary {
  background-color: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-accent);
  color: #163152;
  box-shadow: 0 8px 24px #FFD16633;
}

/* --- FORMS (if any in future) --- */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 17px;
  border-radius: 7px;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: #f8f8f8;
  margin-bottom: 16px;
  padding: 13px 15px;
  transition: border-color 0.17s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px #FFD16633;
}

/* --- CONTACT INFO --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
}

.map-location {
  margin-top: 18px;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
}

/* --- PRICING TABLES --- */
.pricing-table {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 26px 30px;
  box-shadow: 0 2px 12px #10161b13;
  font-size: 1rem;
  color: #f1f1f1;
  border: 1.5px solid var(--color-border);
  margin-top: 18px;
}
.pricing-table h3 {
  color: var(--color-accent);
  margin-bottom: 14px;
}
.pricing-table ul li {
  margin-bottom: 6px;
}
.price {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-left: 12px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-secondary);
  color: #d4dae2;
  padding: 40px 0 20px 0;
  box-shadow: 0 -2px 18px #181f2732;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 28px;
}
footer nav a {
  color: #FFD166;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  transition: color 0.2s;
}
footer nav a:hover {
  color: #fff;
}
footer small {
  color: #b2b9c1;
  margin-top: 6px;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  width: 100vw;
  background: var(--color-surface);
  color: #f1f1f1;
  box-shadow: 0 -1px 8px #181f2735;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 16px 24px 16px;
  animation: cookie-slide-up 0.7s ease;
  transition: box-shadow 0.22s;
}
@keyframes cookie-slide-up {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner .cta, .cookie-modal .cta {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 20px;
}
.cookie-banner .cta {
  margin: 0;
}
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 8000;
  background: rgba(22,49,82,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 38px 30px 30px 30px;
  max-width: 430px;
  width: 92vw;
  box-shadow: 0 4px 22px #181f2739;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  animation: fade-in-modal 0.45s;
}
@keyframes fade-in-modal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-dialog h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.category-row label {
  font-family: var(--font-display);
  color: #1d2329;
  font-size: 1.03rem;
}
.category-row input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-primary);
}
.cookie-modal .cta {
  margin-top: 16px;
}
.cookie-modal-close {
  background: none; border: none; position: absolute;
  top: 18px; right: 18px;
  font-size: 1.6em; color: var(--color-primary);
  cursor: pointer; border-radius: 4px;
  transition: background 0.14s;
}
.cookie-modal-close:focus {
  background: #ecf2f9;
  outline: 2px solid var(--color-primary);
}

/* --- LISTS, BLOCKS, DIVIDERS --- */
ul {
  margin-bottom: 18px;
}
div, li {
  line-height: 1.6;
}
hr {
  border: 1px solid var(--color-border);
  margin: 30px 0;
}

/* --- SHADOWS & METALLIC EFFECTS --- */
.card, .value-grid > div, .benefit-grid > div, .topic-grid > div {
  box-shadow: 0 2px 12px #181f2732, 0 1.5px 9px #FFD16609;
  border-left: 3px solid #353a41;
}
.feature-icon {
  box-shadow: 0 4px 16px #16315210, 0 1.5px 6px #FFD16622;
  background: linear-gradient(135deg, #31363d 60%, #464e57 100%);
}

/* --- SCROLLBAR (webkit only) --- */
body::-webkit-scrollbar {
  width: 13px;
  background: #23272e;
}
body::-webkit-scrollbar-thumb {
  background: #353a41;
  border-radius: 8px;
  border: 3px solid #23272e;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.cta, .card, .testimonial-card, .feature-icon {
  transition: box-shadow 0.2s, border-color 0.18s, background 0.22s, color 0.18s, transform 0.16s;
}
.cta:active {
  transform: scale(0.97);
}
.card:active,
.testimonial-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 9px #FFD16622;
}
.feature-icon:hover, .feature-icon:focus {
  box-shadow: 0 8px 32px #FFD16625, 0 1.5px 15px #2F485844;
  border-color: var(--color-accent);
  background: linear-gradient(135deg, #2F4858 60%, #FFD16622 100%);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .container {
    padding: 0 7vw;
  }
  .content-wrapper, .section {
    padding: 24px 0;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 4vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 18px 0;
  }
  .card-container {
    flex-direction: column;
    gap: 12px;
    padding-right: 0;
  }
  .content-grid, .feature-grid, .benefit-grid, .value-grid, .topic-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    min-width: 0;
    font-size: 1rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .card {
    min-width: 0;
    padding: 16px 10px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 2vw;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 7px 16px 7px;
  }
  .cookie-modal-dialog {
    padding: 23px 6px 15px 6px;
    font-size: 14px;
  }
}
/* Responsive for .text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

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

/* --- POLISH AND OVERRIDES --- */
::-moz-selection {
  background: var(--color-accent);
  color: #1d2329;
}
::selection {
  background: var(--color-accent);
  color: #1d2329;
}


/* --- SPECIAL CLASSES FOR INDUSTRIAL MODERN FEEL --- */
/* Metals: Add subtle metallic borders */
.card, .value-grid > div, .benefit-grid > div, .topic-grid > div {
  border-top: 2.5px solid #68748b77;
  border-right: 2px solid #D4D9DF11;
}

/* Blockquotes for testimonials */
.testimonial-card p {
  font-size: 1.12em;
  font-style: italic;
  color: #222;
}
.testimonial-card div {
  font-family: var(--font-display);
  color: #444;
  font-size: 1em;
}


/* --- OVERRIDE LISTS FOR FEATURE/PRICE/ARTICLE HIGHLIGHT LISTS --- */
.feature-grid ul, .pricing-table ul {
  list-style: disc inside;
  padding: 0 0 0 20px;
}
.topic-grid ul, .article-highlights ul {
  list-style: disc inside;
  font-size: 1.06em;
  color: #e2e4e9;
  margin-top: 8px;
}

/* --- DETAILS & ACCORDION OVERRIDES (if needed in FAQ) --- */
details {
  background: var(--color-surface);
  border-radius: 7px;
  padding: 9px 16px;
  margin-bottom: 19px;
  border: 1.2px solid var(--color-border);
  color: #f1f1f1;
}
details summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}
details[open] {
  box-shadow: 0 2px 12px #FFD16625;
  border-color: var(--color-accent);
}

/* --- OVERRIDE for List in Cards (remove left margin) --- */
.card ul, .card ol {
  padding-left: 14px;
  margin-bottom: 0;
}

/* --- Misc. Utility --- */
.hidden { display: none !important; }

/* ==========================
      END OF STYLESHEET
========================== */
