/* ====================================================
   CSS RESET & BASE STYLES
==================================================== */
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;
  background: linear-gradient(120deg, #F1F7FA 0%, #ffffff 100%);
  color: #216A83;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
:focus {
  outline: 2px solid #54B88C;
  outline-offset: 2px;
}

/* ====================================================
   VARIABLES (WITH FALLBACKS)
==================================================== */
:root {
  --color-primary: #216A83;
  --color-secondary: #F1F7FA;
  --color-accent: #54B88C;
  --color-accent-dark: #21715A;
  --color-background: #ffffff;
  --color-card-bg: #ffffff;
  --color-text: #216A83;
  --color-muted: #7fa1b3;

  --font-display: 'Nunito', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ====================================================
   TYPOGRAPHY
==================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.18;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, table, blockquote, small {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}
small {
  font-size: 0.92rem;
  color: var(--color-muted);
}
strong {
  font-weight: 700;
}

/* ====================================================
   LAYOUT & CONTAINERS
==================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Flex pattern: Card container (horizontal wrap) */
.card-container, .service-grid, .feature-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .service-item, .feature-item {
  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;
  background: #fff;
  box-shadow: 0 2px 16px rgba(33,106,131,0.08), 0 1.5px 8px rgba(33,113,90,0.08);
  border-radius: 14px;
  margin-bottom: 20px;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--color-card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,106,131,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(33,106,131,0.17);
  transform: translateY(-3px) scale(1.03);
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 230px;
  min-width: 210px;
  background: var(--color-card-bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33,106,131,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-item:hover {
  box-shadow: 0 8px 32px rgba(33,113,90,0.12);
  transform: translateY(-2px) scale(1.025);
}

/* ====================================================
   HEADER & MAIN NAV
==================================================== */
header {
  width: 100%;
  background: linear-gradient(90deg, #216A83 0%, #54B88C 95%);
  color: #fff;
  box-shadow: 0 2px 14px rgba(33,106,131,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
header img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.03rem;
  padding: 7px 14px;
  border-radius: 7px;
  transition: background 0.16s, color 0.17s;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255,255,255, 0.15);
  color: #fff;
}
.main-nav .cta-btn {
  background: linear-gradient(98deg,#54B88C 60%,#216A83 110%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(81,186,140,0.18);
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1.06rem;
  margin-left: 10px;
  font-weight: 700;
  transition: background 0.18s, transform 0.17s;
  border: none;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: linear-gradient(105deg,#216A83 30%,#417abd 97%);
  transform: scale(1.06);
  color: #fff;
}

/* Hamburger Button */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  display: none;
  z-index: 105;
  transition: color 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #54B88C;
}

/* ====================================================
   MOBILE MENU
==================================================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(98deg, #216A83 60%, #54B88C 100%);
  color: #fff;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.84,0,.26,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 30px 36px 26px;
  z-index: 103;
  box-shadow: 0 0 44px 12px rgba(33,106,131,0.16);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  cursor: pointer;
  margin-bottom: 16px;
  z-index: 104;
  transition: color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F1F7FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  width: 100%;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  padding: 10px 5px;
  border-radius: 9px;
  transition: background 0.15s, color 0.13s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.14);
  color: #54B88C;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  header .container {
    gap: 9px;
  }
  .main-nav a {
    font-size: 0.97rem;
    padding: 7px 7px;
  }
}
@media (max-width: 800px) {
  .main-nav a { font-size: 0.92rem;}
}
@media (max-width: 850px) {
  .main-nav .cta-btn { padding: 7px 16px; font-size: 1rem; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ====================================================
   HERO SECTION
==================================================== */
.hero {
  width: 100%;
  background: linear-gradient(100deg,#F1F7FA 28%, #54B88C 140%);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px 0 40px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  max-width: 600px;
  margin: 0 auto;
  gap: 20px;
  text-align: center;
}
.hero h1 {
  color: #216A83;
  font-size: 2.5rem;
  margin-bottom: 14px;
}
.hero p {
  color: #21715A;
  font-size: 1.17rem;
  margin-bottom: 18px;
}

/* ====================================================
   BUTTONS & CTA STYLES
==================================================== */
.cta-btn, .cta-btn.secondary {
  display: inline-block;
  background: linear-gradient(93deg, #54B88C 60%, #216A83 113%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 26px;
  box-shadow: 0 3px 10px rgba(41,113,90,0.07);
  font-size: 1.11rem;
  padding: 12px 30px;
  margin-top: 4px;
  border: none;
  transition: background 0.17s, transform 0.13s, box-shadow 0.14s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(105deg, #216A83 50%, #21715A 105%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px rgba(81,186,140,0.24);
  color: #fff;
}
.cta-btn.secondary {
  background: #216A83;
  color: #fff;
  box-shadow: 0 1px 4px rgba(33,106,131,0.10);
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #54B88C;
  color: #fff;
}

/* ====================================================
   CARD STYLES
==================================================== */
.card {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(33,106,131,0.08);
  padding: 26px 24px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 32px rgba(33,106,131,0.11);
  transform: scale(1.017);
}

.feature-grid, .service-grid {
  gap: 24px;
}

/* ====================================================
   LIST STYLES
==================================================== */
.feature-list li,
.quality-list li,
.pricing-features li {
  font-size: 1rem;
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  color: #21715A;
}
.feature-list li::before, .quality-list li::before,
.pricing-features li::before {
  content: '✓';
  color: #54B88C;
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.09em;
  line-height: 1;
}
.service-list li {
  font-size: 1.08em;
  margin-bottom: 13px;
  padding-left: 19px;
  position: relative;
  color: #216A83;
}
.service-list li::before {
  content: "•";
  color: #54B88C;
  position: absolute;
  left: 0;
  font-size: 2em;
  top: -1px;
  line-height: 1;
}

.faq-list li {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #216A83;
  background: #F1F7FA;
  padding: 18px 25px;
  border-radius: 12px;
  box-shadow: 0 0.5px 2.5px rgba(33,113,90,0.06);
  transition: box-shadow 0.15s;
}
.faq-list li strong {
  color: #21715A;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03em;
  margin-bottom: 12px;
  color: #216A83;
}
.notice {
  background: #54B88C;
  color: #fff;
  padding: 13px 17px;
  border-radius: 10px;
  margin-top: 18px;
  font-size: 1.06em;
}

/* ====================================================
   TESTIMONIALS
==================================================== */
.testimonial-card {
  max-width: 700px;
  margin: 0 0 24px 0;
  background: #fff;
  color: #216A83;
  border-radius: 14px;
  box-shadow: 0 4px 32px rgba(81,186,140,0.10);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 22px;
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.22em;
  font-style: italic;
  line-height: 1.5;
  color: #126180;
  margin-right: 15px;
  border-left: 3px solid #54B88C;
  padding-left: 20px;
}
.testimonial-card div {
  font-family: var(--font-body);
  font-size: 1em;
  color: #21715A;
  font-weight: 600;
}

/* ====================================================
   PRICING TABLE
==================================================== */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
  margin-bottom: 20px;
  background: transparent;
}
.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 13px 17px;
  border-radius: 10px;
  background: #fff;
  color: #216A83;
  font-size: 1.07rem;
  border: none;
}
.pricing-table th {
  background: #F1F7FA;
  color: #21715A;
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
}
.pricing-table tr {
  box-shadow: 0 2px 10px rgba(33,113,90,0.07);
}
.pricing-table tr:hover td {
  background: #F1F7FA;
}

/* ====================================================
   FOOTER
==================================================== */
footer {
  background: #216A83;
  color: #fff;
  padding: 38px 0 12px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px rgba(81,186,140,0.05);
}
footer .container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 17px;
  justify-content: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-links a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 5px;
  transition: background 0.15s, color 0.14s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #54B88C;
  background: rgba(255,255,255,0.12);
}
.footer-legal {
  font-size: 0.95rem;
  color: #c0d6df;
  margin-top: 10px;
}
footer img {
  height: 36px;
  width: auto;
  margin-bottom: 8px;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1000px) {
  .feature-grid, .card-container, .service-grid {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-grid, .card-container {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 7px;
  }
  .feature-item, .service-item, .card {
    min-width: 98vw;
    width: 100%;
    max-width: 100%;
    margin-bottom: 17px;
  }
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 13px;
    gap: 10px;
  }
}
@media (max-width: 620px) {
  .container, .content-wrapper {
    padding: 0 2vw;
  }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1.03rem; }
}
@media (max-width: 480px) {
  .feature-item, .service-item, .card, .testimonial-card {
    padding: 13px 7px;
    font-size: 0.99em;
  }
  .footer-links {
    gap: 10px;
    font-size: 0.97em;
  }
}

/* Mobile: Adjust flex direction for text-image sections */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .container { padding: 0 7px; }
}

/* ====================================================
   COOKIE BANNER & MODAL
==================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(92deg, #216A83 70%, #54B88C 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 18px  clamp(16px, 6vw, 52px);
  z-index: 8000;
  box-shadow: 0 -2px 16px rgba(33,106,131,0.16);
  font-family: var(--font-body);
  animation: slideUp 0.45s cubic-bezier(.34,1.5,.64,1) 0s;
}

@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.cookie-btns {
  display: flex;
  gap: 13px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  background: #fff;
  color: #216A83;
  border: none;
  padding: 9px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 2px 8px rgba(33,113,90,0.10);
  font-size: 1.02rem;
  cursor: pointer;
  transition: background 0.19s, color 0.12s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #54B88C;
  color: #fff;
  transform: translateY(-1px);
}
.cookie-banner .cookie-btn.secondary {
  background: #216A83;
  color: #fff;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #417abd;
}

/* Cookie Modal Overlay */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(33,106,131,0.32);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.27s linear;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #216A83;
  border-radius: 16px;
  padding: 34px 28px 18px 28px;
  box-shadow: 0 6px 36px rgba(81,186,140,0.2);
  min-width: 310px;
  max-width: 95vw;
  font-family: var(--font-body);
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: #216A83;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #54B88C;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
}
.cookie-modal .cookie-category.essential {
  font-weight: 700;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  color: #216A83;
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #54B88C;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  background: #216A83;
  color: #fff;
  border-radius: 18px;
  padding: 9px 22px;
  font-size: 1.02rem;
}
.cookie-modal .cookie-btn:hover {
  background: #54B88C;
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 9px 12px 9px;
  }
  .cookie-btns {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* ====================================================
   ANIMATION TRANSITIONS
==================================================== */
.card, .feature-item, .service-item, .cta-btn, .mobile-menu, .main-nav a {
  transition: box-shadow 0.18s, background 0.16s, color 0.13s, transform 0.18s;
}

/* ARIA & ACCESSIBILITY (for focus styles) */
.main-nav a:focus-visible, .mobile-nav a:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #54B88C;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #f1f7fa99;
}

/* ====================================================
   Z-INDEX LAYERING
==================================================== */
header { z-index: 100; }
.mobile-menu { z-index: 103; }
.cookie-banner { z-index: 8000; }
.cookie-modal-backdrop { z-index: 9999; }

/* ====================================================
   UTILS
==================================================== */
.hide { display: none !important; }

/* -----------------------------------------------
 END
----------------------------------------------- */
