/* ===================
   CSS RESET & BASELINE
   =================== */
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;
  vertical-align: baseline;
  box-sizing: border-box; 
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  background: #F6F8FA;
  color: #062749;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #28A745;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #062749;
}
strong { font-weight: bold; }
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li { margin-bottom: 8px; }
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 16px;
}
th, td {
  padding: 12px 8px;
  border-bottom: 1px solid #E1E6EC;
  text-align: left;
}
th {
  background: #e9eff6;
  font-weight: 700;
}

/* ===================
   TYPOGRAPHY
   =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.25;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, .subheadline, .info-text, .note, .special-note, .confirmation {
  margin-bottom: 16px;
}
.subheadline {
  font-weight: 500;
  font-size: 1.15rem;
  color: #2d3b54;
}
.note, .special-note {
  color: #28A745;
  font-size: 0.98em;
  font-style: italic;
}
.confirmation {
  color: #28A745;
  font-weight: 600;
  font-size: 1.12rem;
}

/* ===================
   CONTAINERS & SECTIONS
   =================== */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Gradient Hero/Section backgrounds */
section:nth-of-type(1) {
  background: linear-gradient(105deg, #28A745 0%, #062749 100%);
  color: #fff;
}
section:nth-of-type(1) h1,
section:nth-of-type(1) .subheadline { color: #fff; }
section:nth-of-type(1) .btn-primary { box-shadow: 0 4px 12px 0 rgba(6,39,73, .15); }

section:nth-of-type(2n) {
  background: #fff;
}
section:nth-of-type(2n+1) {
  background: #F6F8FA;
}

/* ===================
   FLEXBOX LAYOUTS
   =================== */
.feature-grid,
.service-list-grid,
.testimonials,
.pricing-grid,
.results-grid,
.faq-list,
.contact-details,
.quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.feature-grid > div,
.service-list-grid > div,
.pricing-grid > div,
.results-grid > ul,
.faq-list > div,
.quicklinks > a,
.testimonials > .testimonial-card {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .feature-grid, .service-list-grid, .pricing-grid, .testimonials, .results-grid, .faq-list, .contact-details, .quicklinks {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .service-list-grid,
  .pricing-grid,
  .results-grid,
  .faq-list,
  .testimonials,
  .contact-details {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-grid > div,
  .service-list-grid > div,
  .pricing-grid > div,
  .results-grid > ul,
  .faq-list > div,
  .testimonials > .testimonial-card {
    min-width: 0;
  }
  .quicklinks { flex-direction: column; }
}

/* Spacing & Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(6,39,73, 0.05);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s;
}
.card:hover {
  box-shadow: 0 6px 20px 0 rgba(40,167,69, 0.10), 0 2px 12px 0 rgba(6,39,73, 0.08);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================== 
   NAVIGATION & HEADER 
   ================== */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(6,39,73,0.04);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 18px 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #062749;
  font-weight: 500;
  transition: color .18s;
  padding: 6px 10px;
  border-radius: 6px;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F6F8FA;
  color: #28A745;
}
.main-nav img {
  height: 38px;
  margin-right: 22px;
}
.btn-primary {
  background: linear-gradient(98deg, #28A745 0%, #109D63 100%);
  color: #fff!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 99px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(40,167,69, .09);
  transition: background .20s, box-shadow .20s, transform 0.14s;
  margin-left: 10px;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(98deg, #109D63 0%, #28A745 100%);
  box-shadow: 0 4px 18px rgba(40,167,69, .13);
  color: #fff!important;
  transform: translateY(-2px) scale(1.03);
}

/* HIDE burger menu ON desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #28A745;
    position: absolute;
    right: 20px;
    top: 16px;
    z-index: 180;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    transition: background .18s;
  }
  .mobile-menu-toggle:focus,
  .mobile-menu-toggle:hover {
    background: #e9eff6;
  }
}

/* ===================
   MOBILE MENU OVERLAY
   =================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6,39,73,0.96);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  padding-top: 64px;
  padding-left: 0;
  padding-right: 0;
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.2,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1001;
  transition: background .20s;
  border-radius: 6px;
  width: 44px;
  height: 44px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1e3553;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 20px;
  padding-left: 40px;
  gap: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.2s, background 0.18s;
  border-radius: 4px;
  width: 90%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #28A745;
  color: #fff;
}
@media (max-width: 600px) {
  .mobile-menu {
    padding-top: 50px;
  }
  .mobile-nav { padding-left: 20px; }
}

/* Overlay background for menu transition */
.mobile-menu:before {
  display: none;
}

/* ===============
   FOOTER
   =============== */
footer {
  background: linear-gradient(90deg, #062749 60%, #28A745 100%);
  color: #fff;
  padding: 38px 0 20px 0;
  margin-top: 36px;
  font-size: 1rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-links a {
  color: #fff;
  opacity: 0.87;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02em;
  transition: color .16s, opacity .13s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #28A745;
  opacity: 1;
}
.legal-disclaimer {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  opacity: .92;
  font-size: 0.93em;
}

/* ===============
   CARDS
   =============== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(40,167,69,0.07),0 1.5px 6px 0 rgba(6,39,73,0.06);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 360px;
  transition: box-shadow .18s;
}
.testimonial-card p {
  color: #062749;
  font-size: 1.04em;
  font-style: italic;
}
.testimonial-card span {
  color: #28A745;
  font-family: 'Montserrat', sans-serif;
  font-size: .98em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(40,167,69,0.13),0 3px 10px 0 rgba(6,39,73,0.08);
}

/* Distinctive for testimonials/reviews: always light background with good contrast */

/* ===================
   MISCELLANEOUS BLOCKS
   =================== */
.info-text {
  color: #2d3b54;
  background: #e9eff6;
  padding: 10px 20px;
  border-radius: 12px;
  margin-top: 10px;
  line-height: 1.5;
  font-size: 0.98em;
}
.map-widget {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px 0 rgba(6,39,73, 0.03);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .map-widget { flex-direction: column; align-items: flex-start; }
}
.results-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 26px;
}

.quicklinks {
  display: flex;
  gap: 18px;
}
.quicklinks a {
  background: #062749;
  color: #fff;
  border-radius: 15px;
  padding: 12px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px 0 rgba(6,39,73,0.04);
  transition: background .18s, color .14s, transform 0.13s;
}
.quicklinks a:hover, .quicklinks a:focus {
  background: #28A745;
  color: #fff;
  transform: scale(1.03);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 16px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .contact-details { flex-direction: column; gap: 20px; }
}
.contact-details ul {
  list-style-type: none; margin:0; padding:0;
}
.contact-details li {
  margin-bottom: 14px;
  font-size: 1.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details a {
  color: #28A745;
}

/* Next steps on Thank You Page */
.next-steps {
  margin: 32px 0 20px 0;
  background: #F6F8FA;
  border-radius: 16px;
  padding: 18px 28px;
}
.next-steps h2 {margin-bottom:12px;}
.next-steps ul {margin-bottom:0;}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  .section { padding: 24px 10px; margin-bottom: 36px; }
  .content-wrapper { gap: 14px; }
  .btn-primary { padding: 12px 16px; font-size: 0.92rem; }
  .footer-links { gap: 16px; }
  .legal-disclaimer { gap: 12px; font-size: 0.88em; }
}
@media (max-width: 600px) {
  .section { margin-bottom: 28px; padding: 10px 0; }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .btn-primary { width: 100%; text-align:center; }
}

/* ====================
   ANIMATIONS & EFFECTS
   ==================== */
.btn-primary, .quicklinks a, .card, .testimonial-card {
  transition: box-shadow 0.2s, background 0.18s, color 0.14s, transform 0.13s;
}
  
div, section, nav, header, .mobile-menu {
  transition: background 0.2s, color 0.18s;
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 3px solid #28A745;
  box-shadow: 0 -2px 10px 0 rgba(6,39,73, .09);
  padding: 28px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  z-index: 9999;
  font-size: 1rem;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.55s cubic-bezier(.7,.2,.2,1);
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button, .cookie-banner .cookie-settings {
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 99px;
  background: #f0f3f7;
  color: #062749;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
  transition: background .17s, color .17s, box-shadow .13s;
}
.cookie-banner .cookie-accept {
  background: linear-gradient(98deg,#28A745 0%,#109D63 100%);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: #fd717a;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #E1E6EC; color: #062749;
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-settings:hover {
  filter: brightness(0.95);
}
.cookie-banner .cookie-reject:hover {
  background: #e33a46;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 16px 6px;
    font-size: 0.98rem;
  }
}

/* Cookie Modal */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(6,39,73, .68);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn .45s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 40px 28px 28px 28px;
  border-radius: 18px;
  min-width: 280px;
  max-width: 98vw;
  box-shadow: 0 4px 28px 0 rgba(6,39,73,.11);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideModalIn .34s cubic-bezier(.6,.15,.2,1);
}
@keyframes slideModalIn {
  from { transform: translateY(45px); opacity: 0.2; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  position: absolute;
  right: 24px; top: 22px;
  font-size: 2.2rem;
  color: #28A745;
  cursor: pointer;
  z-index: 10;
  border-radius: 8px;
  transition: background .22s;
  width: 44px; height: 44px;
}
.cookie-modal-close:hover { background: #e9eff6; }
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F6F8FA;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.01em;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: 12px;
  vertical-align: middle;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E1E6EC;
  border-radius: 20px;
  transition: background 0.22s;
}
.toggle-switch input:checked + .toggle-slider {
  background: #28A745;
}
.toggle-slider:before {
  position: absolute; content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* =======
UTILITIES
========*/
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 22px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

/* ==================
   OVERRIDES & EXTRAS
   ================== */
.story-timeline ul {
  list-style: disc inside;
  background: #e9eff6;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 18px;
}
.story-timeline li {
  margin-bottom: 10px;
  font-size: 1.04em;
}

/* FAQ */
.faq-list > div {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: 0 2px 12px 0 rgba(6,39,73, 0.04);
}
.faq-list h3 {
  margin-bottom: 6px;
}

/* Misc Table adjustments */
table tr:nth-child(even) { background: #F6F8FA; }

/* Selection Color */
::selection {
  background: #28A745;
  color: #fff;
}

/* ==========
TOOLTIPS (optional for microinteractions)
============ */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}
[data-tooltip]:hover:after {
  content: attr(data-tooltip);
  position: absolute;
  background: #062749;
  color: #fff;
  left: 50%;
  bottom: 140%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 0.95em;
  opacity: .92;
  box-shadow: 0 1px 8px 0 rgba(6,39,73,0.09);
  z-index: 99;
  pointer-events:none;
  animation: fadeIn .18s;
}
