/* CSS 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #FFF8F2; /* extra warmth */
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #234774;
  background: #FFF8F2;
  line-height: 1.6;
  min-height: 100vh;
}
img,svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
ul,ol {
  list-style: none;
}
a {
  color: #17A398;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F49B3F;
  outline: none;
}

/* BRAND & FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #234774;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, span, label, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #234774;
}
strong {
  font-weight: 700;
}

/* GLOBAL CONTAINERS */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.section {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(234,176,109,0.05);
  margin-bottom: 60px;
  padding: 40px 20px;
  transition: box-shadow 0.23s;
}
.section:hover {
  box-shadow: 0 8px 44px rgba(234,176,109,0.12);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.text-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-section ul {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-section ul li::before {
  content: '\2022';
  color: #F49B3F;
  font-size: 1.3em;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36, 71, 116, 0.07);
  transition: box-shadow 0.23s, transform 0.21s;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 230px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(234,176,109,0.18);
  transform: translateY(-3px) scale(1.018);
}

.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;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 5px 22px rgba(36,71,116,0.09);
  border: 1.5px solid #F9EAB7;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 11px 38px rgba(23,163,152,0.10);
  border-color: #F49B3F;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #234774;
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #717d96;
  margin-bottom: 2px;
}
.testimonial-card div {
  font-size: 1.27rem;
  color: #F49B3F;
  letter-spacing: 0.07em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(23,163,152,0.04);
  padding: 20px 18px;
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(36, 71, 116, 0.08);
  padding: 22px 18px 16px 18px;
  flex: 1 1 270px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.19s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.service-list > div h3 {
  font-size: 1.18rem;
  color: #234774;
  margin-bottom: 7px;
}
.service-list > div h3 span {
  font-size: 0.96rem;
  font-weight: 400;
  color: #F49B3F;
  margin-left: 8px;
}
.service-list > div:hover {
  box-shadow: 0 8px 32px rgba(36,71,116,0.13);
  transform: translateY(-2px) scale(1.012);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 2.5px solid #F9EAB7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  position: relative;
  z-index: 20;
}
header > a img {
  max-height: 48px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  color: #234774;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #F9EAB7;
  color: #17A398;
}
header .cta {
  background: #F49B3F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 24px;
  margin-left: 20px;
  box-shadow: 0 2px 10px rgba(234,176,109,0.14);
  transition: background 0.21s, box-shadow 0.16s, color 0.22s;
  border: none;
  display: inline-block;
  cursor: pointer;
}
header .cta:hover, header .cta:focus {
  background: #234774;
  color: #fff;
  box-shadow: 0 4px 14px rgba(23,163,152,0.16);
}
button.mobile-menu-toggle {
  background: #fff;
  color: #234774;
  border: 2px solid #17A398;
  border-radius: 12px;
  font-size: 2rem;
  padding: 5px 14px 5px 14px;
  margin-left: 15px;
  cursor: pointer;
  transition: border 0.19s, box-shadow 0.13s, color 0.12s;
  display: none;
}
button.mobile-menu-toggle:focus {
  outline: 2px solid #F49B3F;
}
button.mobile-menu-toggle:hover {
  border-color: #F49B3F;
  color: #F49B3F;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255, 248, 242, 0.95);
  box-shadow: 0 0 100px rgba(36,71,116,0.13);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #234774;
  font-size: 2.2rem;
  padding: 18px 18px 4px 18px;
  margin-top: 5px;
  margin-left: 5px;
  cursor: pointer;
  z-index: 300;
  transition: color 0.15s;
  border-radius: 10px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #F49B3F;
  background: #fff3e2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 26px;
  width: 100%;
  padding-left: 22px;
}
.mobile-nav a {
  color: #234774;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.11s, color 0.12s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9EAB7;
  color: #17A398;
}

/* HERO SECTION (Header content) */
main > section:first-of-type {
  background: #F9EAB7;
  border-radius: 22px;
  margin-bottom: 42px;
  box-shadow: 0 6px 48px rgba(249,234,183,0.23);
}
main > section:first-of-type .content-wrapper {
  align-items: flex-start;
}
main > section:first-of-type h1 {
  color: #234774;
}

/* FEATURES UL (cards in li) */
ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 24px;
}
ul > li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(28, 67, 87, 0.04);
  padding: 18px 17px;
  margin-bottom: 4px;
  transition: box-shadow 0.16s;
}
ul > li:hover {
  box-shadow: 0 6px 24px rgba(244, 155, 63, 0.13);
}
ul > li img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(249,234,183,0.09);
  background: #F9EAB7;
  padding: 6px;
}
ul > li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234774;
}

/* BUTTONS - CTA */
.cta {
  background: #F49B3F;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(234,176,109,0.13);
  transition: background 0.20s, box-shadow 0.17s, color 0.14s, transform 0.17s;
  border: none;
  padding: 11px 30px;
  margin-top: 7px;
  margin-bottom: 8px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.03em;
  text-align: center;
}
.cta:focus, .cta:hover {
  background: #234774;
  color: #fff;
  box-shadow: 0 7px 19px rgba(23,163,152,0.10);
  transform: translateY(-2px) scale(1.01);
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 3px solid #F9EAB7;
  padding: 34px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-bottom: 10px;
}
footer nav a {
  color: #17A398;
  font-size: 0.99rem;
  background: none;
  border-radius: 7px;
  padding: 4px 11px;
  transition: background 0.13s, color 0.13s;
  font-weight: 600;
}
footer nav a:hover, footer nav a:focus {
  background: #F9EAB7;
  color: #F49B3F;
}
footer img {
  height: 42px;
  margin-right: 10px;
  display: inline-block;
}
footer div {
  font-size: 0.98rem;
  color: #828e8a;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #f9eab7;
  color: #234774;
  box-shadow: 0 -6px 38px rgba(23,163,152,0.08), 0 0 1px #b0baaa;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 20px;
  transition: transform 0.38s cubic-bezier(.36,1.01,.63,.91);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  margin-bottom: 17px;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-bottom: 9px;
}
.cookie-btn-accept {
  background: #17A398;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 7px 20px;
  font-weight: bold;
  font-size: 1.04rem;
  cursor: pointer;
  margin-right: 7px;
  transition: background 0.17s, color 0.12s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #234774;
}
.cookie-btn-reject {
  background: #fff;
  color: #F49B3F;
  border: 1.8px solid #F49B3F;
  border-radius: 16px;
  padding: 7px 21px;
  font-weight: 600;
  font-size: 1.04rem;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.15s, color 0.11s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #F49B3F;
  color: #fff;
}
.cookie-btn-settings {
  background: transparent;
  color: #234774;
  border: none;
  text-decoration: underline;
  font-size: 1.02rem;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 11px;
  transition: background 0.11s, color 0.13s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #fff3e2;
  color: #17A398;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -60%) scale(0.95);
  background: #fff;
  color: #234774;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(23,163,152,0.13), 0 0 1px #b0baaa;
  z-index: 3000;
  padding: 34px 28px 24px 28px;
  min-width: 300px;
  max-width: 96vw;
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: cookie-popin 0.47s cubic-bezier(.36,1.01,.63,.91);
}
@keyframes cookie-popin {
  0% { opacity: 0; transform: translate(-50%, 80%) scale(0.87); }
  96% { opacity: 1; transform: translate(-50%, -60%) scale(1.02);}
  100% { opacity: 1; transform: translate(-50%, -60%) scale(0.98);}
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 11px;
  color: #234774;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}
.cookie-cat-label {
  font-size: 1.08rem;
  font-weight: 700;
  color: #234774;
}
.cookie-cat-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-btns {
  margin-top: 16px;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 19px;
  top: 20px;
  background: none;
  border: none;
  font-size: 1.32rem;
  color: #234774;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.13s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #FFF8F2;
  color: #F49B3F;
}

/* Switch style for cookie toggles */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 23px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F9EAB7;
  border-radius: 16px;
  transition: background 0.17s;
}
.switch-slider:before {
  position: absolute;
  content: '';
  height: 17px; width: 17px;
  left: 3px; bottom: 3px;
  background: #17A398;
  border-radius: 50%;
  transition: transform 0.19s, background 0.19s;
}
.switch input:checked + .switch-slider {
  background: #c0eee1;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(21px);
  background: #234774;
}
.switch input:disabled + .switch-slider {
  background: #E4E4E0;
  cursor: not-allowed;
}

/* FORM BASIC (optional) */
input,textarea,select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.6px solid #efecdd;
  padding: 11px 12px;
  margin-bottom: 17px;
  box-shadow: 0 1px 4px rgba(23,163,152,0.07);
  width: 100%;
  transition: border 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F49B3F;
  outline: none;
}

/* RESPONSIVE STYLES: Mobile First */
@media (max-width: 991px) {
  .container { padding-left: 12px; padding-right: 12px; }
  main > section:first-of-type .container, main > section:first-of-type { border-radius: 14px; }
  header nav { gap: 14px; }
}
@media (max-width: 820px) {
  .container { max-width: 98vw; }
  .section, .card, .feature-item, .service-list > div, .testimonial-card {
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  main > section:first-of-type h1 { font-size: 1.52rem; }
  h2 { font-size: 1.27rem; }
  .section { padding: 28px 8px; margin-bottom: 38px; }
  .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 19px;
  }
  .service-list > div { min-width: 0; }
  .testimonial-card, .card, .feature-item { min-width: 0; }
  .text-image-section {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header nav {
    display: none;
  }
  header .cta {
    display: none;
  }
  footer div, footer nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
}
@media (max-width: 535px) {
  html { font-size: 14px; }
  .container { padding-left: 4px; padding-right: 4px; }
  .section { padding: 15px 4px; margin-bottom: 26px; }
  header { padding: 6px 2vw; }
  .mobile-nav {
    padding-left: 10px;
    gap: 13px;
    margin-top: 16px;
  }
  .cookie-modal {
    padding: 19px 7px 15px 7px;
    min-width: 90vw;
    max-width: 98vw;
  }
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2.5px solid #F49B3F;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS */
.cta, .cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings, .service-list > div, .card, .testimonial-card, button.mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  transition: background 0.16s, color 0.15s, box-shadow 0.13s, transform 0.12s;
}
.card:hover, .service-list > div:hover, .testimonial-card:hover {
  transform: translateY(-3px) scale(1.014);
  box-shadow: 0 8px 36px rgba(244,155,63,0.11);
}

/* HELPER: Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* SCROLLBAR friendly */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #F9EAB7;
  border-radius: 12px;
}
::-webkit-scrollbar-track {
  background: #fff8f2;
}
