/* ===========================
   Clear Velocity Main CSS
   geometric_structured style
   =========================== */

/* --- 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 { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { background: #F7FAFC; color: #212B36; min-height: 100vh; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { border-style: none; max-width: 100%; display: block; }
ul, ol { margin-left: 32px; margin-bottom: 20px; }
li { margin-bottom: 8px; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; margin-bottom: 12px; letter-spacing: 0.02em; }

/* ========== VARS ========= */
:root {
  --clr-primary: #174F78;   /* Blue/Navy */
  --clr-secondary: #24B573; /* Green */
  --clr-accent: #F7FAFC;    /* Light BG */
  --clr-dark: #1A232A;
  --clr-light: #FFFFFF;
  --clr-shadow: rgba(23, 79, 120, 0.08);
  --btn-radius: 12px;
  --geometric-base-radius: 20px;
  --header-height: 68px;
  --footer-bg: #162B3B;
  --text-gray: #5B6D7C;
  --card-shadow: 0 2px 8px 0 var(--clr-shadow); /* subtle card shadow */
}

/* ========== TYPOGRAPHY ========= */
h1 { font-family: 'Montserrat', Arial, sans-serif; font-size: 2.25rem; line-height: 1.14; letter-spacing: 0.03em; font-weight: 800; }
h2 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.5rem; font-weight: 700; line-height: 1.18; letter-spacing: 0.025em; color: var(--clr-primary); }
h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.125rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 8px; }
h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; }
p, li, a, span { font-family: 'Roboto', Arial, sans-serif; letter-spacing: 0.01em; color: #222; }
strong { font-weight: 700; }
em { font-style: italic; }
small { font-size: 0.9em; color: var(--text-gray); }

/* For geometric_structured: angular font for headings, strict font pairing */

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--clr-accent);
  border-radius: var(--geometric-base-radius);
  box-shadow: 0 2px 12px 0 var(--clr-shadow);
  position: relative;
}

@media (max-width: 900px) {
  .section { padding: 32px 8px; margin-bottom: 40px; }
  .container { padding-left: 8px; padding-right: 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
}

.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;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--clr-light);
  color: #162B3B;
  padding: 28px 32px;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px 0 rgba(23, 79, 120, 0.10);
  border-left: 6px solid var(--clr-secondary);
  min-width: 260px;
  max-width: 400px;
}

@media (max-width: 900px) {
  .testimonial-card { padding: 24px 14px; min-width: unset; max-width: 100%; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--clr-light);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  min-width: 220px;
  margin-bottom: 20px;
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #F7FAFC 0%, #E8F4FC 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 46px; padding-bottom: 46px;
}
.hero h1 {
  color: var(--clr-primary);
  font-size: 2.5rem;
  max-width: 640px;
}
.hero p {
  color: var(--text-gray);
  font-size: 1.2rem;
  max-width: 520px;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 1rem; }
  .hero { min-height: 220px; }
}

/*********** NAVIGATION ***********/
header {
  width: 100%;
  background: var(--clr-light);
  box-shadow: 0 2px 12px 0 rgba(23,79,120,0.07);
  z-index: 20;
  min-height: var(--header-height);
}
.header-shadow { box-shadow: 0 4px 32px 0 rgba(23,79,120,0.09); }
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 32px;
}
.logo-link img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
nav.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.025em;
  padding: 10px 6px 8px 6px;
  border-radius: 6px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
nav.main-nav a:focus, nav.main-nav a:hover {
  background: var(--clr-secondary);
  color: #fff;
}

.cta-btn, a.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 8px;
  margin-right: 0;
}
.primary-btn {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 2px 6px 0 var(--clr-shadow);
}
.primary-btn:hover {
  background: var(--clr-secondary);
  color: var(--clr-dark);
  box-shadow: 0 4px 16px 0 rgba(36,181,115,0.12);
}
.secondary-btn {
  background: var(--clr-secondary);
  color: #fff;
  border: 2px solid var(--clr-secondary);
}
.secondary-btn:hover {
  background: #fff;
  color: var(--clr-secondary);
  box-shadow: 0 2px 8px 0 var(--clr-shadow);
}


/**** MOBILE MENU TOGGLE & MOBILE NAV ****/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  font-size: 2.15rem;
  background: var(--clr-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 var(--clr-shadow);
  cursor: pointer;
  z-index: 1000;
  transition: background 0.23s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--clr-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh; width: 100vw;
  background: rgba(23,79,120,0.96);
  box-shadow: 4px 0 24px 0 rgba(23, 79, 120, 0.18);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.48,1.64,.46,.8);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
  padding: 0;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  align-self: flex-end;
  margin: 28px 28px 0 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover { color: var(--clr-secondary); }
.mobile-nav {
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 7px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--clr-secondary);
}
@media (max-width: 970px) {
  nav.main-nav { display: none; }
  .cta-btn.primary-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}

@media (min-width: 971px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/***********************
      PRODUCT GRID & CARDS
************************/
.feature-grid, .brand-logos-row, .brand-logos-grid, .product-grid, .product-list-grid, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  justify-content: space-between;
}

.feature-grid > div,
.brand-logos-row > div,
.brand-logos-grid > div,
.team-member,
.product-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 var(--clr-shadow);
  padding: 24px 18px 18px 18px;
  flex: 1 1 200px;
  min-width: 230px;
  max-width: 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 2.2px solid #E9EEF4;
  transition: box-shadow 0.21s, border 0.17s;
}
.feature-grid > div:hover, .product-card:hover {
  box-shadow: 0 6px 26px -4px rgba(23,79,120,0.18);
  border: 2.2px solid var(--clr-secondary);
}
.brand-logos-row img, .brand-logos-grid img {
  width: 42px; height: 42px; margin-bottom: 8px;
}
.product-card .price {
  font-size: 1.13rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin: 14px 0 9px 0;
}
.product-card ul { margin-bottom: 12px; }

@media (max-width: 900px) {
  .feature-grid, .brand-logos-row, .brand-logos-grid, .product-grid, .product-list-grid, .team-grid {
    gap: 22px;
  }
}
@media (max-width: 650px) {
  .feature-grid, .brand-logos-row, .brand-logos-grid, .product-grid, .product-list-grid, .team-grid {
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
  }
  .feature-grid > div,
  .brand-logos-row > div,
  .brand-logos-grid > div,
  .team-member,
  .product-card {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 24px;
  }
}

/********** FILTER BAR (Shop) **********/
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.product-filter-bar label {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--clr-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.product-filter-bar select,
.product-filter-bar input[type=text] {
  margin-left: 8px;
  padding: 9px 14px;
  border: 1.6px solid #D5E4EF;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  transition: border 0.18s;
  outline: none;
}
.product-filter-bar select:focus, .product-filter-bar input[type=text]:focus {
  border: 1.6px solid var(--clr-secondary); box-shadow: 0 2px 12px 0 var(--clr-shadow);
}

/*************************
      TESTIMONIAL SLIDER
*************************/
.testimonial-slider {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0 0 12px 0;
}
@media (max-width: 700px) {
  .testimonial-slider { flex-direction: column; gap: 20px; }
}

/**********************
      FAQ / HELP LISTS
**********************/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.faq-list > div {
  background: var(--clr-light);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  padding: 18px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  margin-bottom: 20px;
  border-left: 5px solid var(--clr-primary);
}
@media (max-width: 650px) {
  .faq-list { flex-direction: column; gap: 0; }
  .faq-list > div { min-width: 100%; margin-bottom: 20px; }
}

/*********************
     MAP PLACEHOLDER
**********************/
.map-placeholder {
  border: 2px dashed var(--clr-primary);
  border-radius: 12px;
  padding: 38px;
  text-align: center;
  color: var(--clr-primary);
  font-size: 1.07rem;
  margin-top: 12px;
}

/*********************
     FOOTER
**********************/
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 0px 0 0 0;
}
footer .container {
  padding-top: 42px;
  padding-bottom: 18px;
}
.footer-columns {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 0 1 240px; min-width: 200px;
  display: flex; flex-direction: column; gap: 18px;
  align-items: flex-start;
}
.footer-brand img { width: 48px; margin-bottom: 8px; }
.footer-nav {
  display: flex; flex-direction: column; gap: 8px;
  flex: 0 1 180px;
  min-width: 140px;
}
.footer-nav a {
  color: #D8DEE7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  opacity: 0.88;
  transition: color 0.2s, opacity 0.19s;
  margin-bottom: 5px;
}
.footer-nav a:hover { color: var(--clr-secondary); opacity:1; }
.footer-contact {
  display: flex; flex-direction: column; gap: 7px;
  flex: 1 1 240px;
  min-width: 155px;
  color: #E1E8EF;
  font-size: 0.95rem;
}
.footer-contact img { width: 18px; margin-right: 6px; vertical-align: middle; }
.footer-copy {
  border-top: 1.5px solid #263547;
  padding: 10px 0 0 0;
  margin-top: 10px;
  color: #B8C7D6;
  font-size: 0.97rem;
}
@media (max-width: 850px) {
  .footer-columns { flex-direction: column; gap: 10px; align-items: stretch; }
}

/************ FORM STYLES *************/
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 14px;
  border: 1.5px solid #D9EBF6;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom: 8px;
  background: #fff;
  color: var(--clr-dark);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--clr-primary);
}
label { font-weight: 600; }

/************ BUTTONS & LINKS **************/
button, .cta-btn {
  outline: none;
  user-select: none;
}
button:focus-visible, .cta-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--clr-secondary) !important;
}
a { transition: color 0.18s; }
a:hover, a:focus {
  color: var(--clr-secondary);
}

/************* UTILITY CLASSES *************/
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.small { font-size: 0.97em; color: #8FA1B7; }

/*********** VISUAL GEOMETRICS ************/
.section::before, .card::before, .feature-item::before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 0 0 32px 0;
  z-index: 0;
}
.section::before {
  width: 46px; height: 46px; top: 0; left: 0;
  background: var(--clr-secondary);
  opacity: 0.15;
}
.card::before, .feature-item::before {
  content: '';
  width: 28px; height: 28px; bottom: 0; right: 0;
  background: var(--clr-primary);
  opacity: 0.10;
  border-radius: 0 0 11px 0;
}
.card::before { position: absolute; left: unset; right: 0; bottom: 0; }
.feature-item::before { position: absolute; left: unset; right: 0; bottom: 0; }

/********* Brand-colored geometric line accents ******/
h2 {
  position: relative;
  display: inline-block;
  padding-left: 8px;
  margin-bottom: 13px;
}
h2:before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 5px;
  border-radius: 6px 6px 0 0;
  background: var(--clr-secondary);
  position: absolute;
  left: -32px;
  top: 15px;
}
@media (max-width: 530px) { h2:before { display: none; } }

/************* COOKIE CONSENT BANNER *************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--clr-light);
  box-shadow: 0 -3px 26px 0 rgba(23,79,120,0.14);
  border-top: 3px solid var(--clr-primary);
  padding: 24px 12px 18px 12px;
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  font-size: 1.01rem;
  line-height: 1.5;
  color: var(--clr-dark);
  animation: cookie-fade-in 0.7s;
}
.cookie-banner button {
  margin-left: 12px;
  margin-right: 0;
}
.cookie-banner .cookie-btn {
  padding: 10px 20px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  background: var(--clr-primary);
  color: #fff;
  margin-right: 8px;
  transition: background 0.16s, color 0.12s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--clr-secondary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #e5f8ea;
  color: var(--clr-secondary);
  border: 2px solid var(--clr-secondary);
  margin-right: 0;
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--clr-secondary);
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@keyframes cookie-fade-in {
  0% { opacity: 0; bottom: -48px; }
  100% { opacity: 1; bottom: 0; }
}

/******* COOKIE SETTINGS MODAL ********/
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: rgba(23,79,120,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.active { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  padding: 36px 40px;
  box-shadow: 0 6px 48px 0 rgba(23,79,120,0.14);
  min-width: 330px;
  min-height: 220px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-popin 0.33s;
}
@keyframes modal-popin {
  from { opacity: 0; transform: translateY(60px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--clr-primary);
  cursor: pointer;
  transition: color 0.12s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: var(--clr-secondary);
}
.cookie-options {
  display: flex; flex-direction: column; gap: 18px;
}
.cookie-option {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
}
.cookie-option label {
  font-weight: 700; color: var(--clr-primary); min-width: 52px;
}
.cookie-toggle {
  accent-color: var(--clr-secondary);
  width: 24px; height: 24px;
}
.cookie-essential {
  font-style: italic;
  color: #aaa;
}

@media (max-width:480px) {
  .cookie-modal-content { padding: 14px 9px; min-width: unset; }
}

/***************** MISC ******************/
::-webkit-input-placeholder { color: #8EACBC; opacity: 1; }
::-moz-placeholder { color: #8EACBC; opacity: 1; }
:-ms-input-placeholder { color: #8EACBC; opacity: 1; }
::placeholder { color: #8EACBC; opacity: 1; }

hr { border:0; border-top: 1.5px solid #E0EBF1; margin: 22px 0; }

/**************** EXPERIENCE ENHANCERS ****************/
/* Star icons styling for testimonial ratings */
.testimonial-card img[alt='']
{ width: 24px; height: 24px; display: inline-block; margin-right: 2px; }

/* Smooth transitions everywhere */
*, *::before, *::after { transition: box-shadow 0.20s, border 0.20s, background 0.20s, color 0.20s; }

/* ===== Scrollbar Styling (for geometric_structured) ===== */
::-webkit-scrollbar { width: 9px; background: #e8f4fc; }
::-webkit-scrollbar-thumb { background: var(--clr-primary); border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-secondary); }

/********************
   RESPONSIVE SCALES
*********************/
@media (max-width: 650px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1rem; }
  .container { padding-left: 3px; padding-right: 3px; }
}
