/* RESET & NORMALIZE */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li, nav, header, footer, main, section, button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: linear-gradient(145deg, #A7E2CB 0%, #F1C232 100%);
  color: #222;
  line-height: 1.6;
  font-size: 1rem;
}
img {
  vertical-align: middle;
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #004276;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F1C232;
}
ul, ol {
  list-style: none;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #004276;
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  color: #004276;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #004276;
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #222;
}
strong {
  font-weight: 600;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 22px rgba(0,66,118,0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* FLEX LAYOUT UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px rgba(0,66,118,0.08);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 3px 24px rgba(0,66,118,0.16);
}
.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;
    align-items: flex-start;
    gap: 24px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8FBF9;
  border-radius: 16px;
  box-shadow: 0 1px 10px rgba(0,66,118,0.06);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 260px;
  color: #222;
  transition: box-shadow 0.25s, transform 0.18s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.06rem;
}
.testimonial-card span {
  color: #004276;
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 5px 28px rgba(0,66,118,0.14);
  transform: translateY(-2px) scale(1.015);
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 720px;
}
ul li, ol li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* HEADER */
header {
  width: 100%;
  background: linear-gradient(90deg, #A7E2CB 0%, #F1C232 150%);
  border-bottom: 1.5px solid #A7E2CB;
  box-shadow: 0 4px 16px rgba(0,66,118,0.08);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
header img {
  max-height: 54px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #004276;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.22s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  background: #A7E2CB;
  color: #004276;
}
.cta-btn {
  background: linear-gradient(90deg, #004276 0%, #A7E2CB 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 28px;
  margin-left: 20px;
  box-shadow: 0 2px 12px rgba(0,66,118,0.10);
  transition: background 0.21s, box-shadow 0.21s, transform 0.15s;
  border: 2px solid transparent;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #F1C232 0%, #004276 80%);
  color: #004276;
  box-shadow: 0 5px 26px rgba(0,66,118,0.12);
  border: 2px solid #004276;
  transform: translateY(-2px) scale(1.02);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #004276;
  color: #fff;
  font-size: 2rem;
  padding: 7px 16px;
  border-radius: 9px;
  box-shadow: 0 1px 7px rgba(0,66,118,0.14);
  margin-left: 18px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #A7E2CB;
  color: #004276;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0px 60px rgba(0,66,118,0.13);
  z-index: 1500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  background: #A7E2CB;
  color: #004276;
  font-size: 2.3rem;
  padding: 5px 14px;
  border-radius: 9px;
  transition: background 0.21s, color 0.18s;
  z-index: 1510;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #004276;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin: 48px 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #004276;
  padding: 12px 24px;
  border-radius: 11px;
  transition: background 0.20s, color 0.18s;
  width: 80vw;
  max-width: 380px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A7E2CB;
  color: #004276;
}
@media (max-width: 1020px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTION / SPECIALS */
section:first-of-type {
  background: linear-gradient(118deg, #A7E2CB 60%, #F1C232 115%);
  color: #004276;
}
section:first-of-type h1,
section:first-of-type h2 {
  color: #004276;
}
section:first-of-type .cta-btn {
  margin-top: 16px;
}

/* TEAM GRID */
.team-member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.team-member {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 9px rgba(0,66,118,0.08);
  text-align: center;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s;
}
.team-member img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 12px;
}
.team-member h3 {
  color: #004276;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.team-member:hover {
  box-shadow: 0 6px 28px rgba(0,66,118,0.14);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 768px) {
  .team-member-grid {
    flex-direction: column;
    gap: 0;
  }
}

/* FOOTER */
footer {
  background: #004276;
  color: #fff;
  width: 100%;
  padding: 38px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  padding: 3px 7px;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}
footer nav a:hover, footer nav a:focus {
  background: #A7E2CB;
  color: #004276;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 1rem;
}
.footer-contact img {
  width: 40px;
  margin-bottom: 7px;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
  }
  .footer-contact {
    align-items: flex-start;
    font-size: 0.95rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2.5px solid #A7E2CB;
  box-shadow: 0 -5px 26px rgba(0,66,118,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 12px 22px 12px;
  z-index: 10000;
  font-size: 1rem;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent-banner p {
  color: #222;
  text-align: center;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cookie-btn {
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.15s;
  box-shadow: 0 1px 12px rgba(0,66,118,0.08);
  border: 2px solid transparent;
}
.cookie-btn.accept {
  background: #A7E2CB;
  color: #004276;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #004276;
  color: #fff;
}
.cookie-btn.reject {
  background: #F1C232;
  color: #004276;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #004276;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #004276;
  border: 2px solid #A7E2CB;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A7E2CB;
  color: #004276;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0,66,118,0.27);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 400px;
  width: 92vw;
  padding: 30px 18px 22px;
  box-shadow: 0 8px 48px rgba(0,66,118,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.cookie-modal h3 {
  color: #004276;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #E8E9E9;
  font-size: 1.07rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 11px;
  margin-top: 12px;
}
.cookie-switch {
  position: relative;
  width: 38px;
  height: 22px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #A7E2CB;
  border-radius: 14px;
  transition: background 0.16s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #004276;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-category .always-on {
  font-size: 0.97rem;
  color: #222;
}


/* GENERAL BUTTONS */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
}
.button, .btn {
  border-radius: 24px;
  padding: 12px 24px;
  font-size: 1rem;
  background: #A7E2CB;
  color: #004276;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s;
  border: 2px solid transparent;
}
.button:hover, .button:focus, .btn:hover, .btn:focus {
  background: #004276;
  color: #fff;
  box-shadow: 0 3px 16px rgba(0,66,118,0.11);
}

/* MISC */
::-webkit-input-placeholder { color: #999; }
:-moz-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }

@media (max-width: 768px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1rem; }
  .container { padding: 0 10px; }
  .cta-btn { font-size: 0.99rem; padding: 8px 18px; }
  .card { padding: 14px 10px; }
  .testimonial-card { min-width: 180px; max-width: 100%; padding: 12px; }
}

/* SPACING CONSISTENCY */
section, .section {
  margin-bottom: 60px !important;
}
.card, .testimonial-card, .team-member {
  margin-bottom: 20px !important;
}
.content-grid, .card-container, .team-member-grid {
  gap: 24px !important;
}
.content-wrapper {
  gap: 18px !important;
}

/* FOCUS STATES FOR ACCESSIBILITY */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #A7E2CB;
  outline-offset: 3px;
}

/* ENSURE NO OVERLAPPING, ADD SPACING */
main section .container > *, 
main section .container .content-wrapper > *,
main section .container .content-wrapper .testimonial-card {
  margin-bottom: 20px;
}
main section .container .content-wrapper > *:last-child,
main section .container > *:last-child {
  margin-bottom: 0;
}

/* ANIMATIONS */
.cta-btn, .button, .btn, .testimonial-card, .card, .team-member {
  transition: box-shadow 0.21s, background 0.18s, color 0.18s, transform 0.17s;
}

/* PRINT */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
}
