/* =====================
   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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #F5F7FA;
}
body {
  min-height: 100vh;
  background: #F5F7FA;
  color: #17425E;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  list-style: none;
}
a {
  color: #17425E;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.52,0,.47,1);
}
a:hover, a:focus {
  color: #3BB273;
  outline: none;
}
strong, b {
  font-weight: 600;
}

/* =====================
   BRAND FONTS
====================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500;700&display=swap');
:root {
  --primary: #17425E;
  --secondary: #3BB273;
  --accent: #F5F7FA;
  --primary-rgb: 23,66,94;
  --secondary-rgb: 59,178,115;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-card: 0 2px 12px rgba(23,66,94,0.07);
  --shadow-hover: 0 4px 18px rgba(23,66,94,0.14);
  --transition: 0.22s cubic-bezier(.52,0,.47,1);
  --radius-large: 18px;
  --radius-small: 8px;
}

/* =====================
  LAYOUT CONTAINERS
====================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-large);
}
@media (max-width: 1024px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 20px 2px;
    margin-bottom: 32px;
    border-radius: var(--radius-small);
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 760px;
}

/* =====================
     TYPOGRAPHY
====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
h4 {
  font-size: 1.1rem;
  font-weight: 700;
}
.lead {
  font-family: var(--font-body);
  color: var(--secondary);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
p {
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}
ul {
  margin-bottom: 4px;
  margin-left: 0;
  padding-left: 0;
}
.text-section ul {
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 16px;
}
.text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  position: relative;
  margin-bottom: 7px;
}
.text-section ul li:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--secondary);
  margin-right: 10px;
}
.text-section a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 700;
  transition: color var(--transition);
}
.text-section a:hover,
.text-section a:focus {
  color: var(--primary);
}

/* =====================
   HEADER & NAVIGATION
====================== */
header {
  width: 100%;
  box-shadow: 0 2px 12px rgba(23,66,94,0.06);
  background: #fff;
  z-index: 60;
  position: relative;
}
header .container {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 32px;
}
.logo img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: var(--radius-small);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: #fff;
}
.cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  outline: none;
  border-radius: 36px;
  padding: 11px 28px;
  margin-left: auto;
  margin-right: 16px;
  box-shadow: 0 2px 12px rgba(59,178,115,0.10);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  position: relative;
  z-index: 8;
  overflow: hidden;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(23,66,94,0.14);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
}

/* Responsive header/nav */
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .cta-btn {
    margin-right: 4px;
    padding: 10px 14px;
    font-size: 0.95rem;
  }
  .main-nav {
    gap: 14px;
  }
  .logo {
    margin-right: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 0;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    background: var(--primary);
    border: none;
    color: #fff;
    font-size: 2rem;
    padding: 8px 14px;
    border-radius: var(--radius-small);
    margin-left: auto;
    cursor: pointer;
    z-index: 101;
    transition: background var(--transition), box-shadow var(--transition);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--secondary);
    outline: none;
  }
}

/* ===============
    MOBILE MENU
================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.52,0,.47,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 0 4px 40px rgba(23,66,94,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 32px 26px 2px 0;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 130;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 32px 32px 32px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  padding: 13px 8px;
  border-radius: var(--radius-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-close {
    display: none !important;
  }
}

/* ===============
     MAIN: HERO, SECTIONS, FEATURES, CARDS
================= */
/* HERO */
section:first-of-type {
  background: #fff;
  box-shadow: 0 2px 12px rgba(23,66,94,0.07);
  border-radius: var(--radius-large);
  margin-top: 32px;
}
.features-grid, .service-list, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
/* Single feature cards */
.features-grid > div,
.service-list > div,
.card {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  border: 2.5px solid #EFF2F7;
  padding: 28px 24px 22px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 210px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.features-grid > div:hover,
.service-list > div:hover,
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary);
  transform: translateY(-4px) scale(1.02);
}
.features-grid img, .service-list img {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
@media (max-width: 1024px) {
  .features-grid > div,
  .service-list > div {
    min-width: 170px;
    padding: 24px 12px;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .features-grid, .service-list, .card-container {
    gap: 16px;
    flex-direction: column;
  }
  .features-grid > div,
  .service-list > div,
  .card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
    max-width: 100%;
  }
}

/* Card Spacing Utilities */
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.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;
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  border: 2px solid #dde6ef;
  min-width: 220px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
@media (max-width:768px){
  .testimonial-card{
    flex-direction: column;
    gap: 12px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===============
  BUTTONS & FORMS
================= */
button, .btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: var(--radius-small);
  padding: 11px 30px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  outline: none;
}
button:hover,
button:focus,
.btn:hover,
.btn:focus {
  background: var(--primary);
  color: #fff;
}
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 9px;
  border: 1.5px solid #d5dee9;
  border-radius: var(--radius-small);
  outline: none;
  width: 100%;
  margin-bottom: 12px;
  background: #f1f5fa;
  color: var(--primary);
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
::-webkit-input-placeholder { color: #b1bac6;}
::-moz-placeholder { color: #b1bac6;}
:-ms-input-placeholder { color: #b1bac6;}
::placeholder { color: #b1bac6;}

/* ===============
      FOOTER
================= */
footer {
  background: #fff;
  box-shadow: 0 -2px 16px rgba(23,66,94,0.03);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0 12px 0;
  width: 100%;
  border-radius: var(--radius-large) var(--radius-large) 0 0;
}
.footer-logo {
  flex: 0 0 auto;
  margin-right: 36px;
}
.footer-logo img {
  width: 48px;
  height: auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  text-transform: none;
  padding: 2px 0;
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--secondary);
}
.footer-social {
  margin-left: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  transition: filter var(--transition), transform var(--transition);
  filter: grayscale(0.15);
}
.footer-social a:hover img {
  filter: grayscale(0) drop-shadow(0 2px 8px #3BB27355);
  transform: scale(1.04);
}
.footer-copy {
  flex: 1 1 100%;
  text-align: left;
  font-size: 0.98rem;
  color: #445e74;
  opacity: 0.67;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .footer-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 0 10px 0;
  }
  .footer-social {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .footer-logo img {
    width: 40px;
  }
  .footer-social a img {
    width: 26px;
    height: 26px;
  }
  .footer-wrapper {
    padding: 16px 0 6px 0;
    border-radius: var(--radius-small) var(--radius-small) 0 0;
  }
}

/* ===================
  COOKIE BANNER & MODAL
==================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -4px 24px rgba(23,66,94,0.08);
  padding: 22px 18px 18px 18px;
  z-index: 150;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  transition: transform 0.34s cubic-bezier(.52,0,.47,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  color: #17425E;
  flex: 1 1 60%;
  font-size: 1.1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .btn {
  padding: 7px 18px;
  font-size: 1rem;
  border-radius: var(--radius-small);
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--secondary);
  color: #fff;
  border: none;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  margin: 0;
}
.cookie-banner .btn-reject {
  background: #e0e4ea;
  color: var(--primary);
}
.cookie-banner .btn-reject:hover,
.cookie-banner .btn-reject:focus {
  background: #eaecec;
  color: var(--secondary);
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--primary);
}
@media(max-width:768px){
  .cookie-banner{
    flex-direction: column;
    gap: 15px;
    padding: 12px 7px 13px 7px;
  }
  .cookie-banner .cookie-text{
    font-size: 1rem;
    text-align: center;
  }
  .cookie-banner .cookie-btns{
    gap: 8px;
  }
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 152;
  top:0; left:0; right:0; bottom:0;
  background: rgba(17,31,42,0.37);
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-large);
  box-shadow: 0 8px 40px rgba(23,66,94,0.21);
  padding: 38px 28px 24px 28px;
  max-width: 96vw;
  width: 440px;
  margin: 0 auto;
  z-index: 160;
  animation: cookieModalAppear 0.44s cubic-bezier(.5,0,.5,1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
@keyframes cookieModalAppear {
  from { transform: translateY(60px) scale(0.92); opacity:0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  color: var(--primary);
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.cookie-modal .category label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
  padding-left: 0;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 36px;
  height: 22px;
  background: #e0e4ea;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background var(--transition);
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: left var(--transition);
  box-shadow: 0 2px 8px rgba(71,136,113,0.06);
}
.cookie-modal .cookie-toggle:checked:before {
  left: 16px;
}
.cookie-modal .cookie-btns {
  margin-top: 20px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: var(--radius-small);
}
.cookie-modal .btn-close {
  background: none;
  color: var(--primary);
  font-size: 1.4rem;
  position: absolute;
  right: 18px;
  top: 10px;
  border: none;
  z-index: 50;
  cursor: pointer;
}
.cookie-modal .btn-close:hover,
.cookie-modal .btn-close:focus{
  color: var(--secondary);
  outline:none;
}
@media (max-width: 600px){
  .cookie-modal{ padding: 22px 6px 18px 6px; width: 99vw; }
}

/* =========================
   GEOMETRIC DECORATIVE ELEMENTS (Modern Effects)
============================ */
.features-grid > div:before,
.service-list > div:before,
.card:before {
  content: '';
  display: block;
  width: 36px;
  height: 7px;
  background: linear-gradient(90deg, #3BB273 48%, #17425E 100%);
  border-radius: 4px;
  position: absolute;
  left: 24px;
  top: 16px;
  z-index: 1;
  opacity: 0.13;
}
@media (max-width: 768px) {
  .features-grid > div:before,
  .service-list > div:before,
  .card:before {
    left: 12px;
    top: 9px;
  }
}

/* ===============
  UTILITIES & HELPERS
================== */
.m-b-20 { margin-bottom: 20px; }
.m-b-32 { margin-bottom: 32px; }
.p-t-20 { padding-top: 20px; }
.text-center { text-align: center; }
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.bg-white { background: #fff; }
.bg-accent { background: var(--accent); }
.rounded { border-radius: var(--radius-large); }
.shadow { box-shadow: var(--shadow-card); }

/* ==================
   MEDIA - RESPONSIVE
=================== */
@media (max-width: 1024px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .text-section {
    max-width: 100%;
    padding: 0;
    gap: 20px;
  }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
  .lead { font-size: 1.02rem; }
}

/* ===============
 ANIMATIONS / HOVER
================== */
.card, .features-grid > div, .service-list > div, .testimonial-card {
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
section a.cta-btn {
  align-self: flex-start;
  margin-top: 16px;
}

/* ===============
  ACCESSIBILITY
================ */
:focus { outline: 2px solid var(--secondary); outline-offset: 1px; }
.skip-link { position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; background:#fff; padding: 9px; z-index: 510; }

/* ===============
  PRINT STYLES
================ */
@media print {
  header, footer, .cookie-banner, .cookie-modal-backdrop { display: none !important; }
  main { padding: 0; }
  section, .container, .content-wrapper { background: #fff !important; box-shadow: none !important; color:#111; }
}
