/* ------------------------------------------------------
   CSS RESET & BASE
----------------------------------------------------------*/
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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* Selectable text */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff;
  color: #1a1b1f;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ------------------------------------------------------
   TYPOGRAPHY
----------------------------------------------------------*/
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.375rem;
  font-weight: 700;
  line-height: 1.18;
  color: #003366;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.75rem; }
}

h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.19;
  color: #003366;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  h2, .h2 { font-size: 1.3rem; }
}

h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: #003366;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #222c33;
}
strong {
  font-weight: 700;
  color: #003366;
}

blockquote {
  font-style: italic;
  color: #003366;
  opacity: 0.94;
  margin-bottom: 10px;
}
cite {
  display: block;
  color: #49A078;
  font-size: 0.98rem;
  margin-top: 4px;
  font-style: normal;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ------------------------------------------------------
   CONTAINERS & SECTIONS
----------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.04);
  border-radius: 14px;
}
@media (max-width: 768px){
  .section {
    padding: 28px 7px;
    margin-bottom: 38px;
    border-radius: 9px;
  }
}

/* ------------------------------------------------------
   FLEX LAYOUT CLASSES
----------------------------------------------------------*/
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6E9D7;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(80, 90, 120, 0.07);
  margin-bottom: 20px;
  max-width: 570px;
  width: 100%;
}

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

/* ------------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,23,102,0.02);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 41;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  font-size: 1rem;
  min-height: 72px;
  padding-left: 0;
  padding-right: 0;
}
.main-nav img {
  height: 38px;
  width: auto;
}
.main-nav a {
  color: #003366;
  transition: color 0.18s;
  padding: 8px 6px;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6E9D7;
  color: #49A078;
}
.main-nav .cta-btn {
  margin-left: auto;
  background: #003366;
  color: #fff;
  border-radius: 7px;
  padding: 10px 26px;
  font-weight: 700;
  font-size: 1.06rem;
  box-shadow: 0 2px 22px 0 rgba(0, 51, 102, 0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.28s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #49A078;
  color: #fff;
  box-shadow: 0 4px 28px 0 rgba(73,160,120, 0.14);
}

/*---------------- Mobile Navigation ----------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  margin-left: auto;
  padding: 10px 15px;
  background: #fff;
  color: #003366;
  border: none;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  z-index: 60;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6E9D7;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-103vw);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.8,0,.3,1), opacity 0.24s;
  z-index: 99;
  box-shadow: 0 0 0 0 #0000;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  box-shadow: 0 4px 60px 0 rgba(0,40,60,0.12);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #003366;
  background: none;
  border: none;
  align-self: flex-end;
  margin-top: 18px;
  margin-right: 24px;
  border-radius: 7px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6E9D7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  margin-top: 60px;
  width: 100%;
}
.mobile-nav a {
  color: #003366;
  font-size: 1.3rem;
  padding: 11px 30px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.16s, color 0.15s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6E9D7;
  color: #49A078;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav a {padding: 7px 1px;}
  .main-nav .cta-btn {padding: 9px 10px; font-size: 1rem;}
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child), .main-nav .cta-btn { font-size: 0.98rem; }
}
@media (max-width: 800px) {
  .main-nav { gap: 5px; }
}
@media (max-width: 670px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ------------------------------------------------------
   FOOTER
----------------------------------------------------------*/
footer {
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 38px 0 16px 0;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 1rem;
}
.footer-nav a {
  color: #003366;
  opacity: .88;
  padding: 4px 4px;
  border-radius: 3px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F6E9D7;
  color: #49A078;
}
footer p {
  color: #999;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

/* ------------------------------------------------------
   BUTTONS & CTA
----------------------------------------------------------*/
.cta-btn {
  display: inline-block;
  background: #003366;
  color: #fff;
  border-radius: 7px;
  padding: 11px 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 18px 0 rgba(0, 51, 102, 0.10);
  cursor: pointer;
  border: none;
  margin-top: 12px;
  margin-bottom: 10px;
  outline: none;
  transition: background 0.15s, color 0.18s, box-shadow 0.22s;
}
.cta-btn:hover,.cta-btn:focus {
  background: #49A078;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(73,160,120, 0.18);
}

/* ------------------------------------------------------
   SERVICE LIST & CARD
----------------------------------------------------------*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 280px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 13px;
  box-shadow: 0 2px 18px 0 rgba(34, 60, 80, 0.046);
  padding: 24px 20px 20px 20px;
  min-width: 240px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s, border-color 0.14s, transform 0.14s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 7px 22px 0 rgba(73,160,120,0.13);
  border-color: #49A078;
  transform: translateY(-2px) scale(1.012);
}
.service-price {
  margin-top: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #003366;
  font-size: 1.02rem;
}

@media (max-width: 910px) {
  .service-list {
    gap: 18px;
    justify-content: flex-start;
  }
  .service-card {
    min-width: 210px;
    padding: 20px 12px 15px 12px;
  }
}
@media (max-width: 768px) {
  .service-list {
    flex-direction: column;
    gap: 15px;
  }
  .service-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 0;
  }
}

/* ------------------------------------------------------
   ICONS INLINE WITH TEXT
----------------------------------------------------------*/
ul li img, ol li img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: 0.87;
}

/* ------------------------------------------------------
   UL / OL / LI STYLES
----------------------------------------------------------*/
ul, ol {
  margin-bottom: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul li, ol li {
  font-size: 1rem;
  color: #232935;
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li strong, ol li strong {
  font-weight: 600;
  color: #003366;
}

/* Ordered lists: add number styling */
ol {
  counter-reset: step-counter;
}
ol li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 28px;
}
ol li::before {
  content: counter(step-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #49A078;
  font-weight: 700;
  font-size: 1.07em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ------------------------------------------------------
   FAQ ACCORDION (static for now)
----------------------------------------------------------*/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 20px;
}
.faq-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 43, 102, 0.045);
  padding: 22px 22px 14px 22px;
  transition: box-shadow 0.17s;
}
.faq-item h3 {
  margin-bottom: 6px;
  color: #003366;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.faq-item p {
  margin-bottom: 2px;
  color: #222c33;
}
.faq-item:hover { box-shadow: 0 3px 22px 0 rgba(73, 160, 120, 0.07);} 

/* ------------------------------------------------------
   TESTIMONIALS
----------------------------------------------------------*/
.testimonial-card {
  background: #F6E9D7;
  color: #232c3a;
  font-size: 1.07rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 13px;
  box-shadow: 0 3px 16px 0 rgba(80, 90, 120, 0.07);
  padding: 20px 28px 18px 28px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 650px;
  width: 100%;
  align-self: center;
}
.testimonial-card blockquote {
  color: #003366;
  font-style: italic;
  opacity: 0.96;
  font-size: 1.05em;
  margin-bottom: 11px;
}
.testimonial-card cite {
  font-size: .99em;
  color: #49A078;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  opacity: 0.97;
}
@media (max-width: 540px){
  .testimonial-card {
    padding: 13px 8px 10px 8px;
    border-radius: 7px;
  }
}
/* Ensure contrast for testimonials */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card cite {
  color: #003366;
  background: #F6E9D7;
}

/* ------------------------------------------------------
   RESPONSIVE & WHITE SPACE
----------------------------------------------------------*/
@media (max-width: 820px) {
  .container { max-width: 99vw; }
}
@media (max-width: 640px) {
  .content-wrapper, .text-section {
    padding: 0 2px;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  .section { padding: 14px 2px; }
}

/* ------------------------------------------------------
   UTILITY & MISC
----------------------------------------------------------*/
hr {
  border: none;
  border-bottom: 1px solid #ececec;
  margin: 32px 0;
}

/* Misc spacing for consistent minimalist look */
.section + .section { margin-top: 0; }
.content-wrapper > *:not(:last-child) { margin-bottom: 10px; }

/* ------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------*/
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #003366;
  box-shadow: 0 -4px 48px 0 rgba(0,0,0,0.06);
  border-top: 1px solid #ececec;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
  z-index: 200;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 1;
  transition: opacity 0.3s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-banner p {
  margin: 0 20px 0 0;
  color: #2c3c4d;
  font-size: 0.96rem;
  flex: 1 1 200px;
}
.cookie-btn {
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 19px;
  margin: 0 7px 0 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.15s, color 0.19s, box-shadow 0.2s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #49A078;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff;
  color: #003366;
  border: 1px solid #003366;
  padding: 7px 17px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.14s, border-color 0.17s, color 0.14s;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F6E9D7;
  border-color: #49A078;
  color: #49A078;
}

/* Cookie modal popup */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0, 30, 50, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 3000;
  transition: opacity 0.23s;
}
#cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 60px 0 rgba(0,51,102,.12);
  max-width: 420px;
  width: 98vw;
  padding: 36px 27px 31px 27px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  font-size: 1.24rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #003366;
  font-weight: 600;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
}
.cookie-toggle {
  width: 35px;
  height: 19px;
  border-radius: 9px;
  background: #ececec;
  border: 1px solid #dcdcdc;
  position: relative;
  transition: background 0.15s;
}
.cookie-toggle.enabled {
  background: #49A078;
  border-color: #49A078;
}
.cookie-toggle .toggle-knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,20,30,0.07);
  transition: left 0.17s;
}
.cookie-toggle.enabled .toggle-knob {
  left: 18px;
}
.cookie-essential-label {
  font-weight: 600;
  color: #003366;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
}
.cookie-category label {
  font-size: 0.99rem;
}
.cookie-modal-actions {
  margin-top: 17px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #003366;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F6E9D7;
}

@media (max-width: 500px) {
  #cookie-banner {padding: 15px 2px; font-size: 0.98rem;}
  .cookie-modal-content {padding: 17px 6px 19px 12px;}
}

/* ------------------------------------------------------
   ANIMATION CLASSES
----------------------------------------------------------*/
.fade-in {
  animation: fade-in 0.35s cubic-bezier(.4, 0, .2, 1) 1;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.slide-in-right {
  animation: slide-in-right 0.36s cubic-bezier(.4, 0, .2, 1) 1;
}
@keyframes slide-in-right {
  from { transform: translateX(100vw); }
  to   { transform: translateX(0); }
}
.slide-out-left {
  animation: slide-out-left 0.36s cubic-bezier(.4, 0, .2, 1) 1;
}
@keyframes slide-out-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-100vw); }
}

/* ------------------------------------------------------
   SIMPLE FORM STYLES (for future)
----------------------------------------------------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #dce0e5;
  border-radius: 7px;
  padding: 8px 11px;
  background: #fff;
  color: #232935;
  margin-bottom: 12px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #49A078;
}

/* ------------------------------------------------------
   ACCESSIBILITY & FOCUS STATE
----------------------------------------------------------*/
a, button, .cta-btn {
  outline: none;
  box-shadow: none;
  transition: box-shadow 0.13s, outline 0.07s;
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #49A078;
  outline-offset: 2px;
}

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