/* RESET & BASE STYLES */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
a, address, big, cite, code, del, dfn, em, font, 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6F6F6;
  color: #193B63;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #16A085;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #193B63;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* FONT SETUP */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #193B63;
  margin-bottom: 14px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* TYPOGRAPHY SCALE */
p, li, span {
  font-size: 1rem;
  color: #193B63;
}
strong {
  font-weight: bold;
  color: #16A085;
}
em {
  font-style: italic;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(25,59,99,0.08);
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: 0 8px 36px 0 rgba(25,59,99,0.15);
}

/* FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 12px 0 rgba(22,160,133,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(25,59,99,0.15);
  transform: translateY(-3px) scale(1.025);
}
.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: #F8FCFB;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(22,160,133,0.09);
  margin-bottom: 24px;
  border-left: 8px solid #16A085;
  min-width: 200px;
  max-width: 480px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(25,59,99,0.11);
  border-color: #F9CB40;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAV */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(25,59,99,0.05);
  padding: 0;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 32;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  position: relative;
  gap: 18px;
  padding: 8px 20px;
}
header img {
  height: 44px;
  margin-right: 18px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #193B63;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background 0.19s, color 0.19s;
}
header nav a:hover,  header nav a:focus {
  background: #F5F3C2;
  color: #16A085;
}
.cta-primary {
  background: #16A085;
  color: #fff !important;
  padding: 10px 28px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.11rem;
  box-shadow: 0 2px 6px 0 rgba(25,59,99,0.10);
  transition: background 0.15s, box-shadow 0.18s, transform 0.16s;
  border: none;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #193B63;
  box-shadow: 0 5px 16px 0 rgba(25,59,99,0.19);
  transform: scale(1.05);
  color: #fff;
}
.cta-secondary {
  background: #F9CB40;
  color: #193B63 !important;
  padding: 10px 26px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px 0 rgba(249,203,64,0.13);
  transition: background 0.14s, box-shadow 0.18s, color 0.13s, transform 0.13s;
  border: none;
  margin-top: 10px;
  display: inline-block;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #16A085;
  color: #fff !important;
  box-shadow: 0 5px 14px 0 rgba(22,160,133,0.19);
  transform: scale(1.04);
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: #F9CB40;
  border: none;
  font-size: 32px;
  border-radius: 12px;
  color: #193B63;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.18s, color 0.13s, transform 0.12s;
  cursor: pointer;
}
.mobile-menu-toggle:active {
  transform: scale(0.96);
  background: #F6F6F6;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fffcf7;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4,1,.3,1), box-shadow 0.1s;
  z-index: 1001;
  padding: 0 0 40px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 80px 0 rgba(25,59,99,0.09);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 25px 8px 0;
  font-size: 36px;
  color: #16A085;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.14s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F9CB40;
  color: #193B63;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 30px;
}
.mobile-nav a {
  color: #193B63;
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 6px;
  border-radius: 9px;
  transition: background 0.14s;
  width: 100%;
  margin-bottom: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5F3C2;
  color: #16A085;
}

/* Hide menu on desktop, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN & FOOTER */
main {
  padding-bottom: 80px;
}
footer {
  width: 100%;
  padding: 32px 0 12px 0;
  background: #193B63;
  color: #fff;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer nav a {
  color: #F9CB40;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline dotted 2px #F9CB40;
  border-radius: 9px;
  padding: 5px 7px;
  transition: background 0.16s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #fff5d1;
  color: #16A085;
}
footer p {
  font-size: 1rem;
  color: #fff;
}

/* LISTS WITH ICONS */
ul li {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li img {
  height: 24px;
  width: 24px;
  filter: drop-shadow(0 2px 4px rgba(22,160,133,0.11));
}

/* FUN PLAYFUL FONT & COLOR ACCENTS */
span, .playful {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F9CB40;
  letter-spacing: 0.5px;
}

/* BUTTONS */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  transition: box-shadow 0.13s, background 0.14s, color 0.12s, transform 0.12s;
}
.button {
  padding: 12px 32px;
  border-radius: 14px;
  font-size: 1rem;
  background: #F9CB40;
  color: #193B63;
  margin: 10px;
}
.button:hover, .button:focus {
  background: #16A085;
  color: #fff;
  box-shadow: 0 4px 19px 0 rgba(22,160,133,0.12);
  transform: scale(1.045);
}

/* VISUAL EFFECTS */
.card, .testimonial-card, .section {
  box-shadow: 0 4px 16px 0 rgba(25,59,99,0.09);
}
.card:hover, .section:hover {
  box-shadow: 0 10px 25px 0 rgba(249,203,64,0.09);
}

/* MICRO-ANIMATIONS & HIERARCHY */
h1, h2, h3 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 7px;
  background: #F9CB40;
  position: absolute;
  left: 0;
  bottom: -9px;
  border-radius: 6px;
  opacity: 0.75;
  animation: playful-underline 1.1s cubic-bezier(.41,.98,.44,1.07);
}
@keyframes playful-underline {
  0% { width: 6px; opacity:0; }
  25% { opacity: .6; }
  100% { width: 54px; opacity:0.75; }
}

/* GENERAL SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

.card {
  margin-bottom: 20px;
  position: relative;
}

.text-image-section {
  align-items: center;
}
.testimonial-card {
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Blog popular tags styling */
span {
  background: #F9CB40;
  color: #193B63;
  border-radius: 8px;
  padding: 2px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  box-shadow: 0 2px 6px 0 rgba(249,203,64,0.08);
  display: inline-block;
  margin-bottom: 3px;
}

/* Animations for interactive elements */
.cta-primary, .cta-secondary, .button, button {
  transition: background 0.15s, color 0.13s, transform 0.15s;
}
.card:hover, .testimonial-card:hover {
  transform: scale(1.022) rotate(-1deg);
}

/* FORM & INPUTS (For possible future expansion) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1.5px solid #16A085;
  background: #fff;
  transition: border 0.16s, box-shadow 0.14s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #F9CB40;
  box-shadow: 0 0 0 2px #F9CB40;
  outline: none;
}

/* RESPONSIVE STYLES - MOBILE FIRST */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 16px;
  }
  section {
    margin-bottom: 40px;
    padding: 22px 4px;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1rem;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 15px 11px;
    font-size: 0.99rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    min-height: 58px;
    gap: 10px;
    padding: 4px 8px;
  }
  header img {
    height: 36px;
  }
  .cta-primary, .cta-secondary, .button, button {
    font-size: 0.98rem;
    padding: 9px 16px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 13px;
    padding: 11px 6px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #fff7e0;
  color: #193B63;
  box-shadow: 0 -2px 32px 0 rgba(25,59,99,0.15);
  padding: 25px 20px;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  animation: cookieSlideIn 0.8s cubic-bezier(.4,1,.3,1) 1;
}
@keyframes cookieSlideIn {
  from { transform: translateY(90px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  flex: 1 1 0;
  margin-bottom: 0;
  font-size: 1rem;
  color: #193B63;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  margin: 0 2px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(249,203,64,0.08);
  transition: background 0.14s, color 0.13s, transform 0.11s;
}
.cookie-banner .cookie-btn.accept {
  background: #16A085;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #193B63;
  color: #fff;
  transform: scale(1.05);
}
.cookie-banner .cookie-btn.reject {
  background: #F9CB40;
  color: #193B63;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #F6F6F6;
  color: #16A085;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #193B63;
  border: 2px solid #F9CB40;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #F9CB40;
  color: #193B63;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25,59,99,0.17);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.36s cubic-bezier(.37,1,.43,1) 1;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* COOKIE MODAL */
.cookie-modal {
  width: 96vw;
  max-width: 410px;
  background: #fff;
  color: #193B63;
  border-radius: 18px;
  box-shadow: 0 4px 40px 0 rgba(25,59,99,0.13);
  padding: 36px 25px 22px 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalZoomIn 0.36s cubic-bezier(.37,1,.43,1);
}
@keyframes cookieModalZoomIn {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 7px;
  color: #16A085;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 1.01rem;
}
.cookie-modal .cookie-switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F6F6F6;
  border-radius: 24px;
  transition: background 0.23s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: #16A085;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(25,59,99,0.11);
  transition: transform 0.23s;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(22px);
}
.cookie-modal .cookie-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 13px;
}
.cookie-modal .cookie-btn {
  padding: 8px 19px;
  font-size: 1rem;
}
.cookie-modal .category-desc {
  font-size: .92rem;
  color: #888;
  margin-left: 58px;
}
.cookie-modal .required {
  color: #F9CB40;
  font-weight: 700;
  font-size: 1.05rem;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 33px;
  color: #F9CB40;
  cursor: pointer;
}
.cookie-modal .close-cookie-modal:hover {
  color: #193B63;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 7px;
  }
  .cookie-modal {
    padding: 20px 7px 16px 7px;
  }
  .cookie-modal h3 {
    font-size: 1.1rem;
  }
}

/* DYNAMIC/PLAYFUL DECORATIVE ELEMENTS */
.section {
  position: relative;
  overflow: hidden;
}
.section::before {
  content: '';
  position: absolute;
  top: -14px;
  right: -28px;
  width: 85px;
  height: 85px;
  background: #F9CB40;
  opacity: 0.13;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: bubble-move 6s infinite alternate-reverse;
  filter: blur(2px);
}
.section::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: -30px;
  width: 65px;
  height: 65px;
  background: #16A085;
  opacity: 0.09;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: bubble-move2 6s infinite alternate;
  filter: blur(1px);
}
@keyframes bubble-move {
  0% { transform: translateY(0) scale(1); }
  60% { transform: translateY(18px) scale(1.08); }
  100% { transform: translateY(-6px) scale(0.93); }
}
@keyframes bubble-move2 {
  0% { transform: translateX(0) scale(1); }
  60% { transform: translateX(18px) scale(1.11); }
  100% { transform: translateX(-6px) scale(0.94); }
}

/* Extra playful elements: add squiggle for cards and testimonials */
.card::before, .testimonial-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 7px;
  background: #F9CB40;
  opacity: .23;
  border-radius: 24px;
  position: absolute;
  top: 14px; right: 18px;
  transform: rotate(13deg) scale(0.95);
  z-index: 1;
}

/* TESTIMONIALS/REVIEWS CONTRAST & LAYOUT */
.testimonial-card {
  background: #fff;
  color: #193B63;
  border-left: 8px solid #16A085;
  box-shadow: 0 2px 11px 0 rgba(25,59,99,0.09);
}
.testimonial-card p {
  color: #193B63;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: #16A085;
}

/* Card spacing between all cards/sections */
.card, .testimonial-card, .feature-item, .section {
  margin-bottom: 20px;
}

/* Avatar or Icon next to testimonial name if added in future */
.testimonial-card strong::before {
  content: '👤';
  margin-right: 7px;
}

/* Accessibility/Focus States */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .button:focus, input:focus {
  outline: 2px solid #F9CB40 !important;
  outline-offset: 2px;
}

/* Ensure interactive elements have touch targets */
.cta-primary, .cta-secondary, .button, .cookie-btn {
  min-width: 44px;
  min-height: 44px;
}

/* Hide visually if needed */
.sr-only {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
