/* === CSS RESET & NORMALIZATION === */
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;
  min-height: 100vh;
  background: #F5F8FA;
  color: #1B355B;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .18s;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* === BRAND COLORS AS CSS VARIABLES === */
:root {
  --brand-primary: #1B355B;
  --brand-secondary: #74C69D;
  --brand-accent: #F5F8FA;
  --brand-dark: #192A44;
  --text-main: #1B355B;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #a0aec0;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(27,53,91,0.07), 0 1.5px 4px rgba(94,210,158,0.09);
}


/* === TYPOGRAPHY (Geometric Structured) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.7;
}
strong {
  font-weight: 700;
  color: var(--brand-primary);
}

/* Visual separation for DLS */
hr {
  border: none;
  border-top: 2.5px solid var(--gray-200);
  margin: 32px 0;
  width: 60px;
}

/* === STRUCTURED SPACING & FLEX LAYOUTS === */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section  {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 24px;
  min-width: 260px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 4px 18px rgba(27,53,91,.13);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2.5px solid var(--brand-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Hero & structured grids */
.hero {
  margin-bottom: 60px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 0 0 56px 56px/0 0 36px 36px;
  box-shadow: 0 4px 32px rgba(27,53,91,.08);
  padding: 60px 0 48px;
  position: relative;
}
.hero h1,
.hero p {
  color: var(--white);
}
.hero .btn-primary {
  background: var(--white);
  color: var(--brand-primary);
  border: 2.5px solid var(--white);
  margin-top: 24px;
}
.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

.features {
  margin-bottom: 60px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid li {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 2px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 32px 20px;
  transition: box-shadow .18s, border-color .2s;
  min-width: 200px;
  max-width: 310px;
}
.feature-grid li:hover {
  border-color: var(--brand-secondary);
  box-shadow: 0 6px 24px rgba(116,198,157,0.13);
}
.feature-grid img {
  width: 36px;
  height: 36px;
}

.services-highlight ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
}

.call-to-action {
  margin-bottom: 60px;
  background: var(--brand-secondary);
  border-radius: 30px;
  color: var(--brand-dark);
  text-align: center;
  box-shadow: 0 4px 32px rgba(116, 198, 157, 0.13);
  padding: 48px 20px;
}
.call-to-action h2,
.call-to-action p {
  color: var(--brand-dark);
}

.how-it-works ol {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 20px 0;
}
.how-it-works li {
  flex: 1 1 170px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 10px 16px 0;
  border-left: 5px solid var(--brand-secondary);
  background: var(--brand-accent);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--brand-primary);
}
.how-it-works img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
}


.testimonials-preview {
  margin-bottom: 60px;
  background: var(--gray-100);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 0;
}
.btn-secondary {
  display: inline-block;
  border-radius: 12px;
  border: 2px solid var(--brand-primary);
  background: transparent;
  color: var(--brand-primary);
  padding: 10px 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background .19s, color .19s, border-color .19s;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}


/* === BUTTONS & INTERACTIONS === */
.btn-primary {
  display: inline-block;
  border-radius: 16px;
  border: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 14px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px rgba(116,198,157,.09);
  text-transform: uppercase;
  cursor: pointer;
  transition: background .19s, color .19s, box-shadow .18s, outline .18s;
  outline: 2px solid transparent;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 6px 30px rgba(27,53,91,.12);
  outline: 2px solid var(--brand-secondary);
}


/* === TABLE STYLES === */
table {
  background: var(--white);
  border-radius: 15px;
  border: 2px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
thead {
  background: var(--brand-secondary);
}
th, td {
  text-align: left;
  padding: 16px 20px;
  font-family: 'Roboto', Arial, sans-serif;
}
th {
  font-weight: bold;
  color: var(--brand-primary);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
tbody tr:not(:last-child) td {
  border-bottom: 1.5px solid var(--gray-200);
}

/* === FOOTER STYLES === */
footer {
  margin-top: 60px;
  background: var(--brand-primary);
  color: var(--white);
  padding: 48px 0 28px 0;
  font-size: 1rem;
}
footer .container {
  max-width: 1200px;
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 30px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 56px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--brand-accent);
  padding: 6px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer a {
  color: var(--white);
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color .16s;
  padding: 2px 0;
}
footer a:hover, footer a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}
footer span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  color: var(--brand-secondary);
  font-weight: 500;
  font-size: 0.97rem;
}
footer span img {
  width: 23px;
  height: 23px;
  background: var(--white);
  border-radius: 6px;
  padding: 2px;
}


/* === HEADER & MAIN NAVIGATION === */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 22px rgba(27,53,91,0.08);
  z-index: 101;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  padding: 18px 20px 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 44px;
  background: var(--brand-accent);
  border-radius: 9px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brand-primary);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
.main-nav .btn-primary {
  margin-left: 26px;
  padding: 10px 24px;
  font-size: 1rem;
}


/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 19px;
  right: 24px;
  z-index: 110;
  background: var(--brand-primary);
  color: var(--white);
  border: none;
  border-radius: 9px;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .16s, color .16s;
  box-shadow: var(--shadow);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  outline: 2px solid var(--brand-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 1021;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.32,1.68, .8,1.1);
  visibility: hidden;
  box-shadow: -2px 0 32px rgba(27,53,91,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 2.4rem;
  margin: 30px 28px 9px 0;
  cursor: pointer;
  transition: color .13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 40px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 11px 7px 11px 0;
  color: var(--brand-primary);
  border-radius: 8px;
  transition: background .16s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 0 13px;
  }
  .main-nav img {
    margin-right: 23px;
    height: 40px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 0 5px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .main-nav img {
    margin-right: 18px;
    height: 38px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    border-radius: 0 0 40px 40px/0 0 18px 18px;
    padding: 32px 0 28px 0;
  }
  .call-to-action {
    padding: 32px 7px;
    border-radius: 14px;
    font-size: .98rem;
  }
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .how-it-works ol {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 650px) {
  .container {
    padding: 0 7px;
  }
  .feature-grid li {
    max-width: unset;
  }
  .card {
    min-width: 160px;
    padding: 20px 9px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.24rem; }
  h3 { font-size: 1.04rem; }
  .main-nav .btn-primary { padding: 8px 13px;font-size: 0.97rem; }
  .btn-primary { padding: 9px 12px; font-size: 1rem;}
  .call-to-action {padding: 19px 4px;}
}


/* === STRUCTURED STACKING === */
.section + .section {
  margin-top: 46px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 16px;
}


/* === TESTIMONIALS / OPINIONS === */
.testimonial-card {
  background: #FFF;
  border: 3px solid var(--brand-secondary);
  border-radius: 16px;
  box-shadow: 0 2px 9px rgba(116,198,157,0.08);
  color: var(--brand-primary);
  font-size: 1.09rem;
}
.testimonial-card p {
  color: var(--brand-dark);
  font-size: 1.03rem;
  font-style: italic;
  margin: 0 0 6px 0;
}
.testimonial-card span, .testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  letter-spacing: 0.03em;
  font-weight: 700;
}


/* === GENERAL SECTION SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

/* Override .section spacing if present */
.section {
  padding: 40px 20px;
  margin-bottom: 60px;
}

/* === FORMS & FOCUS STATES (FOR FUTURE) === */
input, textarea, select {
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color .16s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-secondary);
}

/* === POLICIES & LEGAL === */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 18px;
  color: var(--brand-primary);
  font-size: 1.13rem;
}
dd {
  padding-left: 17px;
  margin-bottom: 13px;
}


/* === COOKIE CONSENT BANNER (Bottom fixed) === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--brand-primary);
  color: var(--white);
  z-index: 2030;
  padding: 18px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 24px 0 rgba(27,53,91,0.09);
  animation: fadeInCookie .8s cubic-bezier(.47,1.64,.41,.8);
}
@keyframes fadeInCookie {
  from { opacity:0; transform:translateY(48px); }
  to { opacity:1; transform:translateY(0); }
}
.cookie-banner p {
  font-size: 1rem;
  margin-right: 0;
  margin-bottom: 14px;
  text-align: center;
  color: var(--white);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  border: none;
  border-radius: 10px;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0.5px 4px rgba(116,198,157,.08);
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cookie-banner .accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-banner .accept:hover { background: var(--white); color: var(--brand-primary);}

.cookie-banner .reject {
  background: var(--white);
  color: var(--brand-primary);
  border: 2px solid var(--brand-secondary);
}
.cookie-banner .reject:hover { background: var(--gray-200);}

.cookie-banner .settings {
  background: transparent;
  color: var(--brand-secondary);
  border: 2px solid var(--brand-secondary);
}
.cookie-banner .settings:hover { background: var(--brand-secondary); color: var(--white);}


/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2040;
  background: rgba(27,53,91,0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay .4s;
}
@keyframes fadeInOverlay {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: var(--white);
  padding: 34px 36px 22px 36px;
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(27,53,91,.17);
  max-width: 354px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.17rem;
  margin-bottom: 9px;
  font-weight: 700;
}
.cookie-modal .category-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 13px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  color: var(--brand-dark);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal .modal-actions button {
  min-width: 80px;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.cookie-modal .modal-actions .modal-accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-modal .modal-actions .modal-accept:hover {
  background: var(--brand-primary); color: var(--white);}
.cookie-modal .modal-actions .modal-cancel {
  background: var(--gray-200);
  color: var(--brand-primary);
}
.cookie-modal .modal-actions .modal-cancel:hover {
  background: var(--brand-secondary); color: var(--white);}

/* === UTILITY CLASSES === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

.geometric-shape {
  width: 80px;
  height: 10px;
  border-radius: 0 30px 30px 0;
  background: var(--brand-secondary);
  margin-bottom: 26px;
}

/* --- Utility: Hide visually --- */
.visually-hidden {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(100%) !important;
  clip-path: inset(100%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
}


/* === GEOMETRIC/STRUCTURED MICRO-INTERACTIONS === */
.btn-primary, .btn-secondary, .main-nav a, .feature-grid li, .card, .testimonial-card, .cookie-banner button, .mobile-menu-toggle {
  transition: all .18s cubic-bezier(.65, 0.05, .3, 1.2);
}
.feature-grid li, .card, .testimonial-card {
  box-shadow: 0 1.5px 10px rgba(46,144,113,.05);
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98) skewY(-2deg);
}
.feature-grid li:active { transform: translateY(2px); }

/* === RESPONSIVE FLEX DIRECTION === */
.text-image-section { flex-direction: row; }
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

.content-grid { flex-direction: row; }
@media (max-width: 768px) {
  .content-grid { flex-direction: column; gap: 11px; }
}

.card-container { flex-direction: row; }
@media (max-width: 700px) {
  .card-container { flex-direction: column; gap: 15px; }
}

/* === SCROLL BAR STYLE (styled, geometric) === */
::-webkit-scrollbar {
  width: 11px;
  background: var(--gray-200);
  border-radius: 18px;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 18px;
}

/* === ANIMATIONS & GEOMETRIC FOCUS === */
.btn-primary:focus-visible, .btn-secondary:focus-visible, .main-nav a:focus-visible {
  outline: 2.5px dashed var(--brand-secondary);
  outline-offset: 2.5px;
}

/* === HIGHLIGHTED SECTIONS (Structured) === */
.services-highlight, .testimonials-preview {
  margin-bottom: 60px;
  border-radius: 22px;
}

/* === Review Submission Section === */
.review-submission {
  margin-bottom: 60px;
  background: var(--brand-accent);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(27,53,91,.07);
  padding: 36px 0 16px 0;
}

/* === Hide scroll on open mobile menu === */
body.menu-open {
  overflow: hidden;
}

/* === ACCESSIBILITY IMPROVEMENTS === */
:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

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