/*! RESET & BASE TYPOGRAPHY (Normalize + Box Sizing) */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222b36;
  background-color: #FBF9FD;
  line-height: 1.6;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(135deg,#fcf6ff 0%,#f7fcfe 100%);
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  border: none;
}
aa, a:visited {
  color: #17465E;
  text-decoration: none;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #5bb5a6;
  outline: none;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* HEADERS & TEXT */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #17465E;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.5rem; margin-bottom: 10px; }
.text-section h1, .text-section h2 {
  color: #18604B;
}
p, ul, ol {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #27475d;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
  color: #18604B;
}
ul, ol {
  padding-left: 22px;
}

/* GENERAL LAYOUTS & SPACING */
section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(173, 216, 230, 0.15);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section { max-width: 700px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FEFBFF;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(100,180,255,0.09);
  padding: 30px 24px;
  transition: box-shadow .22s, transform .17s;
  margin-bottom: 20px;
  position: relative;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(70, 141, 122, 0.15);
  transform: translateY(-4px) scale(1.018);
  z-index: 1;
}
.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: 16px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #f7f6fe;
  box-shadow: 0 2px 12px rgba(25, 86, 94, 0.09);
  color: #295075;
  font-size: 1.08rem;
  transition: box-shadow .18s, background .18s;
}
.testimonial-card strong { color: #17465E; font-size: 1rem; }
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(70, 141, 122, 0.13);
  background: #ece8ff;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5FFE0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(255, 209, 102, 0.10);
  color: #3d4d23;
  margin-bottom: 20px;
}

/* PRICING and OTHER BADGES */
.pricing-grid, .pricing-table, .pricing-overview {
  background: #FFEDC9;
  padding: 16px 23px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #295e3b;
  font-weight: 600;
  font-size: 1.11rem;
  margin-top: 16px;
}

/* CTA Buttons */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  background: #ffd166;
  color: #17465E;
  transition: box-shadow 0.19s, background 0.18s, color 0.13s;
  box-shadow: 0 2px 12px rgba(255, 209, 102, 0.08);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: linear-gradient(90deg, #ffd166 10%, #ffeab8 100%);
  color: #17465E;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #e6bb52 6%, #ffd166 100%);
  box-shadow: 0 3px 24px #ffd16644;
  color: #17465E;
}
.cta.secondary {
  background: linear-gradient(90deg, #d5faf8 10%, #f4f9ff 100%);
  color: #17465E;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #b9f4e6;
  color: #18604B;
}

button, .button {
  outline: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  -webkit-appearance: none;
  background: none;
}

/* Header & Navigation */
header {
  background: #fbf9fd;
  box-shadow: 0 2px 24px rgba(255, 209, 102, 0.06);
  position: sticky;
  top: 0;
  z-index: 22;
  width: 100%;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  min-height: 72px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
header nav a {
  color: #18604b;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.16s, color 0.17s;
}
header nav a:hover, header nav a:focus {
  background: #fff9e8;
  color: #468D7A;
}
header img {
  height: 48px;
}
header .cta.primary {
  margin-left: 20px;
  min-width: 160px;
}

/* Hamburger Mobile Menu */
.mobile-menu-toggle {
  background: #ffd166;
  color: #17465E;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 16px #ffd16633;
  position: relative;
  z-index: 1001;
  transition: background 0.16s, box-shadow 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe390;
  box-shadow: 0 4px 18px #ffd16644;
  color: #468d7a;
}
@media (max-width: 992px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100dvh;
  background: linear-gradient(135deg, #ffd166 10%, #fbf9fd 100%);
  box-shadow: 0 5px 36px #ffd16666;
  transform: translateX(-110vw);
  transition: transform .34s cubic-bezier(.4,.3,.2,1);
  z-index: 1999;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: #ffd166;
  color: #17465E;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-self: flex-end;
  margin: 20px 20px 0 0;
  box-shadow: 0 2px 16px #ffd16633;
}
.mobile-menu-close:hover {
  background: #ffe390;
  color: #468d7a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
  align-items: center;
}
.mobile-nav a {
  font-size: 1.22rem;
  color: #17465E;
  padding: 13px 40px;
  border-radius: 22px;
  background: #fff9e8;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffd166;
  color: #18604b;
}
@media (max-width: 992px) {
  .mobile-menu { display: flex; }
}

/* Main */
main {
  padding-top: 20px;
  min-height: 70vh;
}

/* Footer */
footer {
  background: #f6fafc;
  padding: 48px 0 28px 0;
  color: #17465E;
  box-shadow: 0 -2px 18px #ffd16619;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 6px;
  font-size: 1rem;
}
footer nav a {
  color: #468D7A;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 10px;
}
footer nav a:hover,footer nav a:focus {
  background: #ffe390;
}
footer .footer-info {
  color: #215664;
  font-size: .97rem;
  text-align: center;
}
footer .footer-info a { color: #135a5a; }
footer .branding img {
  margin-top: 12px;
  height: 42px;
}

/* Feature Lists with Icons */
ul li img {
  max-height: 2em;
  vertical-align: middle;
  margin-right: 12px;
}

/* TEAM PROFILES */
.team-profile {
  background: #e9faf7;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px #468d7a16;
  margin-bottom: 20px;
  color: #19615e;
}
.team-profile h3 { font-size: 1.22rem; color: #18604B; margin-bottom: 8px; }

/* Notices */
.notice {
  background: #FEF3C5;
  color: #864d18;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: .99rem;
  margin-top: 10px;
  margin-bottom: 20px;
}
.confirmation-message {
  background: #e6f8eb;
  color: #2a6745;
  border-radius: 13px;
  padding: 17px 21px;
  margin-bottom: 18px;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px #468d7a13;
}

/* Responsive Design - mobile first! */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  section {
    padding: 26px 6px;
    margin-bottom: 34px;
  }
  .content-wrapper,.text-section{ gap:16px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.08rem; }
  .card, .testimonial-card, .team-profile { padding: 16px; }
  .feature-item { padding: 11px 10px; }
  .card-container, .content-grid, footer nav {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  header .container { min-height: 58px; }
  footer {
    padding: 32px 0 18px 0;
  }
}

/* Tablet */
@media (max-width: 1050px) {
  .container { max-width: 96vw; }
}

/* Utility - visually hide for accessiblity */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbea;
  box-shadow: 0 -4px 24px #ffd16633;
  color: #513c13;
  z-index: 13001;
  padding: 20px 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100vw;
  min-height: 90px;
  font-size: 1.08rem;
  animation: fadeInCookie 0.7s;
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(44px); }  to { opacity: 1; transform: translateY(0); } }
.cookie-banner p {
  margin-bottom: 6px;
  color: #513c13;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-direction: row;
  align-items: center;
}
.cookie-banner .cookie-btn {
  border-radius: 23px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 30px;
  min-width: 140px;
  margin-left: 0px;
  background: #ffd166;
  color: #17465E;
  border: none;
  box-shadow: 0 1px 10px #ffd16623;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #ffe390;
  color: #18604B;
}
.cookie-banner .cookie-btn.secondary {
  background: #f3fff9;
  color: #17465E;
}
.cookie-banner .cookie-btn.secondary:hover {
  background: #b9f4e6;
  color: #468D7A;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0;left:0;
  width: 100vw;
  height: 100vh;
  background: #202e3d88;
  z-index: 13002;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookie 0.3s;
}
.cookie-modal {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 8px 40px #18604b2a;
  padding: 34px 24px 26px 24px;
  min-width: 320px;
  max-width: 98vw;
  width: 400px;
  color: #17465E;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.05rem;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #18604B;
}
.cookie-modal .cookie-category {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #ffd166;
  width: 18px;
  height: 18px;
}
.cookie-modal .category-desc {
  font-size: .95rem;
  color: #46575d;
}
.cookie-modal .cookie-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #ffeab8;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #17465E;
  font-size: 1.32rem;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .close-cookie-modal:hover {
  background: #ffd166;
  color: #468D7A;
}

@media (max-width: 600px) {
  .cookie-modal {
    width: 95vw;
    padding: 18px 5vw;
  }
  .cookie-banner {
    padding: 14px 0;
    font-size: .98rem;
    gap: 10px;
  }
  .cookie-banner .cookie-btn { min-width: 100px; padding: 9px 10px; font-size: .97rem; }
}

/* MICRO-ANIMATIONS & FOCUS */
:focus {
  outline: 2px solid #ffd166;
  outline-offset: 2px;
}
.cta,.cookie-btn {
  transition: background .14s, color .15s, box-shadow .16s;
}

/* Visual hierarchy spacing */
ul, ol {
  margin-top: 8px;
  margin-bottom: 12px;
}

/* Prevent overlap spacing */
.card, .testimonial-card, .feature-item, .team-profile, .section {
  margin-bottom: 20px;
}

/* Avoid absolute for content cards (only decorative) */

/* Miscellaneous utility classes */
.branding {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hide scroll on mobile menu open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Ensure all overlays are top layer */
.mobile-menu, .cookie-banner, .cookie-modal-backdrop {
  z-index: 13002;
}

