/* ================================================================
   Hidden Mint Tech CSS – Geometric Structured Modern Flex Layouts
   Brand: Hidden Mint Tech | Style: geometric_structured
   Font: Montserrat (display), Open Sans (body)
   Brand Colors: #1A3A45 (primary), #28B68C (secondary), #F5F7FA (accent)
   ================================================================ */

/* --- 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #1A3A45;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: #28B68C; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #1A3A45; text-decoration: underline; }

button, .cta-btn {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  background: #28B68C;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(40,182,140, 0.08);
  font-size: 16px;
  transition: background 0.15s, color 0.12s, box-shadow 0.2s, transform 0.08s;
  outline: none;
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 16px;
}
.cta-btn:hover, button:hover, .cta-btn:focus, button:focus {
  background: #1A3A45;
  color: #28B68C;
  box-shadow: 0 4px 22px rgba(26,58,69,0.09);
  transform: translateY(-2px) scale(1.04);
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1232px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3A45;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 { font-size: 2.75rem; line-height: 1.17; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.28; }
h4 { font-size: 1.1rem; }
.subtitle {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #28B68C;
  margin-bottom: 24px;
}
p, ul, ol {
  font-size: 1rem;
  line-height: 1.7;
  color: #20465b;
}
ul, ol { margin-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 10px; }
strong { font-weight: bold; color: #28B68C; }

/* --- ANGULAR FONTS / GEOMETRIC --- */
html {
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(26,58,69,0.04);
  border-bottom: 4px solid #28B68C;
  position: relative;
  z-index: 9100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3A45;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #28B68C;
  border-bottom: 2px solid #28B68C;
}

/* CTA button in header */
header .cta-btn {
  margin-top: 0;
  margin-bottom: 0;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 15px;
}
header .cta-btn {
  margin-left: 20px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #1A3A45;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s;
  z-index: 9900;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #28B68C;
  color: #fff;
}
.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1A3A45;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4,.63,.31,1.39);
  box-shadow: 8px 0 44px rgba(26,58,69,0.16);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: initial;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 99991;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #28B68C;
  color: #fff;
}
.mobile-nav {
  margin-top: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.mobile-nav a {
  font-size: 1.35rem;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  text-align: center;
  transition: color 0.16s, border 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #28B68C;
  border-bottom: 2px solid #28B68C;
  background: rgba(40,182,140,0.06);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    display: none;
  }
}

/* --- FOOTER --- */
footer {
  background: #1A3A45;
  color: #fff;
  padding: 40px 0 32px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #28B68C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5F7FA;
}
.footer-details {
  font-size: 0.98rem;
  color: #F5F7FA;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --- SECTIONS, GRIDS & FLEX LAYOUTS --- */
.features-grid,
.services-overview,
.services-grid,
.benefits-grid,
.testimonials,
.articles-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.features-grid > div,
.services-overview > div,
.services-grid > div,
.benefits-grid > div,
.articles-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(26,58,69,0.06);
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 1.5px solid #e3e8f0;
  position: relative;
  transition: box-shadow 0.18s, transform 0.13s;
}
.features-grid > div:hover, .services-overview > div:hover,
.services-grid > div:hover, .benefits-grid > div:hover,
.articles-list > div:hover {
  box-shadow: 0 6px 28px rgba(40,182,140,0.13);
  transform: translateY(-4px) scale(1.025);
}
.features-grid img, .benefits-grid img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: grayscale(10%) contrast(1.07);
}

@media (max-width: 900px) {
  .features-grid > div,
  .services-overview > div,
  .services-grid > div,
  .benefits-grid > div,
  .articles-list > div {
    flex: 1 1 100%;
    min-width: 98%;
  }
  .features-grid, .services-overview, .services-grid, .benefits-grid, .articles-list {
    gap: 18px;
  }
}

/* --- TESTIMONIALS --- */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  background: #F5F7FA;
  border-left: 5px solid #28B68C;
  border-radius: 12px;
  min-width: 240px;
  max-width: 470px;
  flex: 1 1 330px;
  box-shadow: 0 3px 15px rgba(26,58,69,0.08);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(26,58,69,0.13);
  transform: translateY(-2px) scale(1.018);
}
.testimonial-content p {
  color: #1A3A45;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.star-rating {
  color: #28B68C;
  font-size: 1.3rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.testimonial-author {
  font-size: 1rem;
  color: #1A3A45;
  letter-spacing: 0.02em;
  margin-top: 6px;
  font-weight: 600;
}

/* --- GENERAL SECTION/CONTENT LAYOUTS --- */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 19px rgba(40,182,140,0.07);
  padding: 28px 20px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 250px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}

@media (max-width: 768px) {
  .content-wrapper {
    gap: 22px;
  }
  .services-grid, .features-grid, .testimonials, .articles-list,
  .benefits-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
}

/* --- ARTICLE LIST / BLOG --- */
.articles-list {
  gap: 24px;
}
.article-preview {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 15px rgba(40,182,140,0.09);
  padding: 28px 22px;
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 510px;
  border: 1.5px solid #e3e8f0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.12s;
}
.article-preview h3 {
  color: #1A3A45;
  margin-bottom: 8px;
}
.article-preview:hover {
  box-shadow: 0 4px 24px rgba(26,58,69,0.12);
  transform: translateY(-2px) scale(1.01);
}
.article-preview a {
  color: #28B68C;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 8px;
}

/* --- MISCELLANEOUS --- */
.map-placeholder {
  margin: 30px 0 16px 0;
  background: #E7F5EE;
  padding: 28px 22px;
  border-radius: 10px;
  font-size: 1.09rem;
  color: #319e74;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-style: italic;
  box-shadow: 0 2px 9px rgba(40,182,140,0.07);
}

/* --- SERVICE LINK --- */
.service-link {
  color: #1A3A45;
  font-weight: 700;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid #28B68C;
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.19s, border 0.14s;
}
.service-link:hover, .service-link:focus {
  color: #28B68C;
  border-bottom: 2px solid #1A3A45;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #1A3A45;
  border-top: 4px solid #28B68C;
  box-shadow: 0 -2px 20px rgba(26,58,69,0.11);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 10px;
  flex-wrap: wrap;
  width: 100%;
  transition: transform 0.35s cubic-bezier(.74,.18,.62,1.34), opacity 0.16s;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #1A3A45;
  font-size: 1.05rem;
  flex: 1 1 220px;
  margin-right: 10px;
}
.cookie-banner .cookie-btn {
  background: #1A3A45;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-left: 8px;
  margin-right: 2px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.16s, color 0.11s, box-shadow 0.12s;
}
.cookie-banner .cookie-btn.primary {
  background: #28B68C;
  color: #fff;
}
.cookie-banner .cookie-btn.secondary {
  background: #fff;
  color: #28B68C;
  border: 1.5px solid #28B68C;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #28B68C;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40,182,140,0.09);
}

@media (max-width: 610px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner p {
    margin-right: 0;
  }
}

/* Cookie MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%,50%) scale(1);
  background: #fff;
  color: #1A3A45;
  z-index: 14000;
  box-shadow: 0 8px 40px rgba(26,58,69,0.15);
  border-radius: 18px;
  padding: 40px 32px 30px 32px;
  max-width: 96vw;
  width: 420px;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.22s, transform 0.33s cubic-bezier(.14,.62,.36,1.3);
}
.cookie-modal.hidden {
  opacity: 0;
  transform: translate(-50%,62%) scale(0.93);
  pointer-events: none;
}
.cookie-modal h2 {
  color: #1A3A45;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.29rem;
  margin-bottom: 18px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-option-label {
  font-size: 1rem;
  color: #1A3A45;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E3ECEA;
  border-radius: 11px;
  transition: background 0.14s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #28B68C;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 16px; width: 16px;
  left: 3px; 
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(26,58,69,0.13);
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
}

.cookie-modal .category-required {
  color: #28B68C;
  font-weight: 700;
  font-size: 0.98rem;
  margin-left: 8px; 
  letter-spacing: 0.01em;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #1A3A45;
  cursor: pointer;
  z-index: 20100;
  border-radius: 7px;
  padding: 7px 10px;
  transition: background 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #28B68C;
  color: #fff;
}

@media (max-width: 440px) {
  .cookie-modal {
    padding: 24px 10px 20px 10px;
    min-width: unset;
    width: 98vw;
  }
}

/* --- GEOMETRIC / STRUCTURED ELEMENTS --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
section, .card, .testimonial-card, .article-preview, .cookie-modal {
  border-radius: 16px 4px 16px 4px;
}
.features-grid > div, .benefits-grid > div {
  border-radius: 10px 22px 10px 18px;
}
.service-link, .main-nav a, .footer-nav a, .cta-btn, .mobile-nav a {
  border-radius: 3px;
}

/* --- SPACING / WHITESPACE / HIERARCHY --- */
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;
}

/* --- RESPONSIVE TYPOGRAPHY SCALE --- */
@media (max-width: 600px) {
  h1 { font-size: 1.93rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
  section {
    padding: 18px 4px;
  }
}

/* --- FOCUS STATES --- */
:focus {
  outline: 2.4px solid #28B68C;
  outline-offset: 2px;
}

/* --- ANIMATIONS / MICRO-INTERACTIONS --- */
.cta-btn, button, .cookie-btn, .cookie-modal-close {
  transition:
    background 0.16s, color 0.18s, box-shadow 0.11s,
    transform 0.13s;
}
.cta-btn:active, button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* --- DARK MODE PREF DETECTION (optional, accentuate structure) --- */
@media (prefers-color-scheme: dark) {
  body {
    background: #1A3A45;
    color: #F5F7FA;
  }
  .card, .article-preview, .testimonial-card, .features-grid > div, .map-placeholder, .benefits-grid > div {
    background: #243b4b;
    color: #F5F7FA;
    border-color: #1A3A45;
  }
  .footer-details { color: #b9dbe5; }
  .star-rating { color: #47edb6; }
}

/* --- Z-INDEX ENSURED FOR MODALS AND MENUS --- */
.mobile-menu,
.cookie-banner,
.cookie-modal {
  z-index: 9999;
}

/* === END Hidden Mint Tech CSS === */
