/* ==== 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,
main, 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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

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

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button, a.btn-primary, a.btn-secondary {
  cursor: pointer;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #164569;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ==== BRAND COLOR VARIABLES ==== */
:root {
  --primary: #164569;
  --secondary: #FFFFFF;
  --accent: #26B786;
  --dark: #12334d;
  --muted: #eaf1f8;
  --text: #164569;
  --surface: #ffffff;
  --shadow: rgba(22, 69, 105, 0.08);
  --shadow-medium: rgba(22,69,105,.15);
}

/* ==== TYPOGRAPHY - GEOMETRIC STRUCTURED ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}

.text-section ul,
.text-section ol {
  padding-left: 32px;
  margin-bottom: 20px;
}
.text-section ul li,
.text-section ol li {
  margin-bottom: 12px;
  position: relative;
}
.text-section ul li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 12px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  vertical-align: middle;
}
.text-section ol {
  list-style: decimal;
  list-style-position: inside;
}
.text-section ol li::before {
  display: none;
}

/* LAYOUT: CONTAINER, WRAPPERS, FLEXBOX GRIDS */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SECTIONS AND SPACING ===== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 2px 18px var(--shadow);
}
section:last-child {
  margin-bottom: 0;
}

/* CARD AND FLEX CONTAINERS */
.features-grid, .card-container, .testimonial-slider, .client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 20px;
}
.feature-card, .card, .testimonial-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 4px 16px var(--shadow-medium);
  margin-bottom: 20px;
  padding: 28px 24px;
  flex: 1 1 280px;
  min-width: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
  border: 2px solid var(--muted);
}
.feature-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}
.feature-card:hover, .card:hover {
  box-shadow: 0 8px 40px var(--shadow-medium);
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.025);
}
.features-grid {
  justify-content: flex-start;
  align-items: stretch;
}
.client-logos {
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.client-logos img {
  height: 36px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.client-logos img:hover {
  opacity: 1;
}

.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px var(--shadow);
  border-left: 6px solid var(--accent);
  min-width: 270px;
  max-width: 370px;
  color: #164569 !important;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #164569;
  font-style: italic;
}
.testimonial-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.01em;
  font-size: 1rem;
  margin-top: 4px;
}

/* FLEXBOX ALIGNMENT AND GRIDS */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 2px solid var(--muted);
  min-height: 70px;
  padding-top: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 0 0;
}

/* ===== BUTTONS ===== */
.btn-primary, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.05rem;
  padding: 12px 32px;
  border-radius: 10px;
  transition: background 0.2s, box-shadow 0.25s, outline 0.15s;
  border: none;
  margin-top: 8px;
  box-shadow: 0 2px 12px var(--shadow);
  outline: 2px solid transparent;
  position: relative;
  text-transform: uppercase;
  gap: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  outline: 2px solid var(--primary);
  box-shadow: 0 4px 30px var(--shadow);
  text-decoration: none;
}
.btn-secondary, a.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: 11px;
  border: 2px solid var(--primary);
  background: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  transition: background 0.22s, color 0.22s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ===== NAVIGATION ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.07rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.17s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--accent);
  width: 0%;
  border-radius: 3px;
  transition: width 0.18s;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.15s;
  margin-right: 16px;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--accent);
}

/* ===== HAMBURGER MENU & MOBILE NAV ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 1200;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px var(--shadow-medium);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.79,.21,.06,.97);
  padding: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  font-size: 2.3rem;
  color: var(--primary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
  padding: 60px 34px 34px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  padding: 16px 0 9px 8px;
  border-bottom: 1px solid var(--muted);
  transition: color 0.21s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: var(--muted);
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -2px 24px var(--shadow-medium);
  padding: 28px 16px 18px 16px;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 1.02rem;
  animation: cookieFadein 0.48s cubic-bezier(.63,.12,.24,1.16);
}
@keyframes cookieFadein {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--primary);
  margin-bottom: 0;
  max-width: 420px;
}
.cookie-banner .btn-cookie {
  margin: 0 10px 0 0;
  padding: 9px 25px;
  font-size: 1rem;
  border-radius: 8px;
  border: 2px solid var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #fff;
  color: var(--primary);
  transition: background 0.19s, color 0.19s, border 0.19s;
}
.cookie-banner .btn-cookie.accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}
.cookie-banner .btn-cookie.accept:hover {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner .btn-cookie.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .btn-cookie.reject:hover {
  background: #eb5454;
  color: #fff;
  border: 2px solid #da2d36;
}
.cookie-banner .btn-cookie.settings {
  background: var(--muted);
  color: var(--primary);
  border: 2px solid var(--muted);
}
.cookie-banner .btn-cookie.settings:hover {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 69, 105, 0.48);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInBg .35s cubic-bezier(.4,.4,.23,.93);
}
@keyframes fadeInBg {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  padding: 42px 28px 28px 28px;
  max-width: 440px;
  width: 98vw;
  box-shadow: 0 8px 38px var(--shadow-medium);
  position: relative;
  z-index: 4010;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: modalPop .4s cubic-bezier(.66,.1,.24,1.17);
}
@keyframes modalPop {
  0% {transform: scale(0.86) translateY(34px) rotateX(-12deg); opacity: 0;}
  100% {transform: scale(1) translateY(0) rotateX(0); opacity: 1;}
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 1.03rem;
  cursor: pointer;
}
.cookie-modal .toggle {
  width: 42px;
  height: 22px;
  border-radius: 13px;
  background: var(--muted);
  position: relative;
  transition: background 0.22s;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-modal .toggle input:checked + .toggle-slider {
  background: var(--accent);
  left: 22px;
}
.cookie-modal .toggle[aria-disabled='true'] {
  background: #e1ebea;
  opacity: .75;
}
.cookie-modal .toggle[aria-disabled='true'] .toggle-slider {
  background: #bbbbbb;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .btn-modal {
  padding: 9px 24px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  transition: background 0.18s, color 0.18s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .btn-modal.save {
  background: var(--primary);
  color: #fff;
}
.cookie-modal .btn-modal.save:hover {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .btn-modal.cancel:hover {
  background: #f1f3f6;
  color: var(--primary);
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 2rem;
  background: transparent;
  color: var(--primary);
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 3;
}
.cookie-modal .close-modal:hover {
  color: var(--accent);
}

/* ==== GENERAL STYLES FOR READABILITY ==== */
.bg-accent {
  background: var(--accent) !important;
  color: #fff !important;
}
.bg-primary {
  background: var(--primary) !important;
  color: #fff !important;
}
.bg-muted {
  background: var(--muted) !important;
}
.text-accent {
  color: var(--accent) !important;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

hr {
  border: none;
  border-top: 1.5px solid var(--muted);
  margin: 36px auto;
}

/* ===== TABLES, IF USED ===== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid var(--muted);
  padding: 12px 10px;
  text-align: left;
}
th {
  background: var(--muted);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}

/* ===== FORMS (Contact, Newsletter etc) ===== */
form label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
}
form input, form textarea, form select {
  width: 100%;
  border: 1.5px solid var(--muted);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #f7fbfd;
  margin-bottom: 16px;
  transition: border 0.19s;
}
form input:focus, form textarea:focus, form select:focus {
  border: 1.5px solid var(--accent);
  background: #fff;
}
form button[type="submit"] {
  margin-top: 6px;
  width: auto;
}

/* ===== THANK YOU / SUCCESS PAGE ===== */
.thank-you {
  text-align: center;
  padding: 40px 0;
}

/* ===== SPECIALS: NOTICES / ALERTS ===== */
.notice, .alert {
  padding: 18px 22px;
  border-radius: 9px;
  background: #fffbe6;
  color: #a08100;
  font-weight: bold;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 24px;
}

/* ===== RESPONSIVE: MOBILE-FIRST, FLEX === */
@media (max-width: 1280px) {
  .container {
    max-width: 990px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding-left: 8vw;
    padding-right: 8vw;
  }
  .features-grid, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .header-flex, .footer-flex {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    z-index: 1400;
    position: absolute;
    right: 22px;
    top: 23px;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }
  section {
    padding: 32px 10px;
    margin-bottom: 44px;
  }
  .features-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
}
@media (max-width: 520px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .feature-card, .testimonial-card {
    padding: 19px 10px;
    min-width: 0;
    border-radius: 10px;
  }
  section {
    margin-bottom: 30px;
    padding: 19px 0px;
    border-radius: 6px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 21px 8px 14px 8px;
  }
  .btn-primary, .btn-secondary {
    font-size: .97rem;
    padding: 10px 18px;
    border-radius: 8px;
  }
}

/* ===== GEOMETRIC STRUCTURED ACCENTS ===== */
.feature-card, .card, .testimonial-card {
  box-shadow: 0 8px 28px -4px var(--shadow);
  border-radius: 16px 4px 16px 4px;
  border-width: 2.5px;
  border-style: solid;
  border-color: var(--muted);
}
.card::before {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px 10px 2px 10px;
  position: absolute;
  top: -15px;
  left: 20px;
  z-index: 1;
  pointer-events: none;
}
.section-divider {
  width: 80px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 3px;
  margin: 24px auto 28px auto;
}

/* Hover Elevation Effect */
.card, .feature-card, .testimonial-card {
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.17s;
}
.card:hover, .feature-card:hover, .testimonial-card:hover {
  box-shadow: 0 16px 48px -6px var(--shadow-medium);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.01);
}

/* Custom geometric list bullet for features */
.feature-card ul li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent);
  margin-right: 10px;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%); /* triangle */
}

/* ==== VISUAL SEPERATORS ==== */
.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;
  min-width: 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== UTILITY ===== */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* print background for selection */
::selection {
  background: var(--accent);
  color: #fff;
}

/* ==== Z-INDEX MANAGEMENT ==== */
header, .mobile-menu-toggle { z-index: 1000; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 4000; }

/* FOCUS INDICATION */
a:focus, button:focus, input:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 1.5px;
  box-shadow: 0 0 2px 2px var(--accent);
}

/* ===== SPECIAL: FORMS (if present) ===== */
input[type="checkbox"]:focus + label,
input[type="radio"]:focus + label {
  outline: 2px dotted var(--accent);
}

/* ===== CUSTOM GEOMETRIC & STRUCTURED QR BANNER DECORATION (if any) ===== */
/* Example for geometric backgrounds/decoration */
.bg-geometric {
  background: repeating-linear-gradient(
      105deg,
      var(--muted) 0px,
      var(--muted) 26px,
      #fff 27px,
      #fff 55px
    );
  border-radius: 14px 18px 6px 18px;
}

/* END OF CSS */
