/* CSS RESET & NORMALIZATION */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #F1F3F8;
  color: #14213D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
main, section, article, aside, header, footer, nav {
  display: block;
}
img {
  max-width: 100%;
  display: block;
  border: none;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
  cursor: pointer;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
  padding: 0;
}

/* BRAND COLORS & VARIABLES */
:root {
  --primary: #0A4A8E;
  --secondary: #59BE76;
  --accent: #F1F3F8;
  --cta: #FFBC49;
  --danger: #F46852;
  --text-dark: #14213D;
  --text-light: #fff;
  --shadow: 0 3px 22px 0 rgba(26, 47, 94,0.1),0 1.5px 6px 0 rgba(89,190,118,0.07);
}

/* TYPOGRAPHY */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 10px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, ul li, ol li, .footer-contact, .text-section {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}
strong, b {
  font-weight: bold;
  color: var(--secondary);
}

/* CONTAINER / LAYOUTS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-list > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  flex: 1 1 250px;
  min-width: 240px;
  max-width: 340px;
  padding: 26px 18px 18px 26px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.service-list > div:hover {
  box-shadow: 0 10px 36px 0 rgba(10,74,142,0.13);
  transform: translateY(-6px) scale(1.03) rotate(-2deg);
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .36s cubic-bezier(.44,1.19,.35,1);
  z-index: 2;
}
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 22px 20px;
  position: relative;
  transition: box-shadow .2s, transform .21s;
  min-width: 240px;
}
.card:hover {
  box-shadow: 0 14px 32px 0 rgba(89,190,118,0.14);
  transform: scale(1.039) rotate(1deg);
  z-index: 2;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px 32px 20px 32px;
  box-shadow: 0 4px 26px 0 rgba(10,74,142,0.08);
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  max-width: 420px;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  margin-bottom: 8px;
  margin-top: 6px;
}
.testimonial-card .stars {
  color: var(--secondary);
  letter-spacing: 1px;
  font-size: 1.11em;
  margin-bottom: 0;
}
.testimonial-card b {
  color: var(--primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER/NAVIGATION */
header {
  background: linear-gradient(90deg, #4EE5A8 4%, var(--secondary) 54%, #F9E726 100%);
  border-bottom: 5px solid var(--primary);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  box-shadow: 0 4px 18px 0 rgba(89,190,118,0.08);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 15px;
  transition: background .21s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--primary);
  color: #fff;
}
.main-nav .cta-btn {
  background: var(--cta);
  color: var(--primary);
  border-radius: 20px 30px 20px 30px;
  padding: 8px 28px;
  font-size: 1.14em;
  font-weight: 700;
  transition: background .18s, color .21s, transform .3s cubic-bezier(.62,2.08,.32,.92);
  box-shadow: 0 8px 22px -6px rgba(255,188,73,0.18);
  margin-left: 12px;
  border: 2.5px solid var(--primary);
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--secondary);
  transform: scale(1.07) rotate(-2deg);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--primary);
  background: var(--cta);
  border-radius: 18px;
  padding: 6px 14px;
  z-index: 200;
  transition: background .21s, color .21s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 2002;
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform .41s cubic-bezier(.24,1.56,.38,1), background .23s;
  box-shadow: 0 8px 32px 0 rgba(10,74,142,0.13);
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  background: var(--secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 20px 20px 0 0;
  box-shadow: 0 4px 12px 0 rgba(89,190,118,0.11);
  transition: background .18s, color .13s;
  border: 2px solid var(--primary);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--danger);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  background: var(--cta);
  border-radius: 16px;
  padding: 12px 30px;
  width: 100%;
  margin-bottom: 2px;
  font-weight: 700;
  transition: background .18s, color .21s, transform .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary);
  color: #fff;
  transform: translateX(8px);
}
.mobile-nav a.cta-btn {
  background: var(--secondary);
  color: var(--text-light);
  border-radius: 24px 20px 16px 28px;
  font-size: 1.1em;
}


/* BUTTONS */
.cta-btn, .button, .btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-align: center;
  border-radius: 28px 18px 20px 33px;
  padding: 13px 36px;
  font-size: 1.11rem;
  margin: 12px 0 12px 0;
  box-shadow: 0 8px 22px -8px var(--secondary);
  border: 2px solid var(--primary);
  cursor: pointer;
  letter-spacing: .03em;
  transition: background .19s, color .14s, border .21s, transform .22s cubic-bezier(.15,1.31,.45,.85);
}
.cta-btn:hover, .cta-btn:focus, .btn:focus, .btn:hover {
  background: var(--primary);
  color: #fff;
  border: 2.5px solid var(--cta);
  transform: scale(1.07) rotate(-2deg);
  outline: none;
}

/* ICON BUTTONS */
.icon-btn {
  border-radius: 50%;
  padding: 7px 11px;
  background: var(--secondary);
  color: #fff;
  font-size: 1.2em;
  border: none;
}
.icon-btn:hover, .icon-btn:focus {
  background: var(--primary);
}

/* LINKS */
a {
  color: var(--primary);
  font-weight: 500;
}
a:hover, a:focus {
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  padding: 44px 0 24px 0;
  width: 100%;
  border-top: 6px solid var(--secondary);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 10px;
  padding: 6px 14px;
  transition: background .22s, color .13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  text-align: center;
  font-size: 0.98em;
  color: #fff!important;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}

/* STARS IN TESTIMONIAL*/
.stars {
  user-select: none;
  font-size: 1.15em;
  color: #FFD900;
  text-shadow: 1px 1px 0 var(--secondary);
}

/* ANIMATIONS/MICRO-INTERACTIONS */
section, .content-wrapper, .card, .testimonial-card, .service-list > div {
  transition: box-shadow .20s cubic-bezier(.3,.70,.4,1), transform .22s cubic-bezier(.21,1.25,.27,.98);
}
.cta-btn, .btn {
  transition: background .19s, color .14s, border .21s, transform .22s cubic-bezier(.14,1.19,.42,.87);
}
@keyframes playful-jump {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-9px) scale(1.05); }
  55% { transform: translateY(3px) scale(0.97); }
  100% { transform: translateY(0) scale(1); }
}
.cta-btn:hover {
  animation: playful-jump .58s cubic-bezier(.42,2.18,.48,.86);
}
.card:hover, .service-list > div:hover {
  animation: playful-jump .49s cubic-bezier(.62,2.08,.42,1);
}

/* COOKIE CONSENT BANNER/MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4003;
  background: #fff;
  color: var(--text-dark);
  box-shadow: 0 -3px 24px rgba(10,74,142,0.12);
  padding: 26px 12px 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.02rem;
  border-top-right-radius: 28px;
  border-top-left-radius: 28px;
  animation: slide-up .7s cubic-bezier(.21,1.45,.39,.96);
}
@keyframes slide-up {
  0% { transform: translateY(140px); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 20px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
  background: var(--secondary);
  color: #fff;
  border-radius: 14px 28px 14px 24px;
  padding: 9px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background .17s, color .18s, border .2s, box-shadow .18s;
  border: 2px solid var(--primary);
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-settings:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .btn-reject {
  background: var(--danger);
  border-color: var(--danger);
}
.cookie-banner .btn-reject:hover {
  background: var(--primary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top:0;left:0;bottom:0;right:0;
  z-index: 4004;
  background: rgba(10,74,142,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in .38s;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 38px 24px 30px 24px;
  border-radius: 20px 32px 18px 38px;
  box-shadow: 0 8px 32px rgba(10,74,142,0.13);
  min-width: 290px;
  max-width: 420px;
  font-size: 1.06rem;
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: slide-down-modal .5s cubic-bezier(.15,1.18,.59,1.01);
}
@keyframes slide-down-modal {
  0% { transform: translateY(-90px) scale(.97); opacity:0; }
  80% { opacity:1; }
  100% { transform:translateY(0) scale(1); opacity:1; }
}
.cookie-modal .cookie-modal-title {
  font-size: 1.25rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 0;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: var(--secondary);
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #a3a3a3;
}
.cookie-modal .modal-btn-row {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 9px;
}

/* FORMS (where present) */
input, textarea, select {
  border: 2px solid var(--secondary);
  border-radius: 10px;
  font-size: 1rem;
  padding: 11px 13px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border .18s, box-shadow .17s;
}
input:focus, textarea:focus, select:focus {
  border: 2.5px solid var(--primary);
  outline: none;
  box-shadow: 0 2px 20px -4px rgba(10,74,142,0.1);
}

/* GENERAL SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Playful decorative element for cards (e.g., splash behind price or title) */
.card .splash, .testimonial-card .splash {
  content: "";
  display: block;
  position: absolute;
  left: -20px; top: -18px;
  width: 44px; height: 44px;
  background: var(--cta);
  opacity: 0.17;
  border-radius: 24px 18px 38px 8px;
  z-index: 1;
  pointer-events: none;
  animation: playful-jump .98s infinite cubic-bezier(.72,1.17,.58,1.08) alternate;
}
.card > *:not(.splash), .testimonial-card > *:not(.splash) {
  position: relative;
  z-index: 2;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1130px) {
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
  .service-list > div, .card {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .main-nav {
    gap: 12px;
  }
  .service-list {
    gap: 18px;
  }
  .service-list > div {
    padding: 18px 10px;
  }
}
@media (max-width: 930px) {
  .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .service-list > div {
    max-width: 100%;
    min-width: 200px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.12rem; }
  .header .container, header .container {
    padding-left: 2vw;
    padding-right: 2vw;
    flex-direction: row;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper, .testimonial-card, .card, .service-list > div {
    padding-left: 12px;
    padding-right: 12px;
  }
  .testimonial-card, .card, .service-list > div {
    min-width: 0;
    max-width: 100%;
  }
  .section {
    padding: 26px 8px 38px 8px;
    margin-bottom: 30px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    font-size: 0.9em;
    line-height: 1.6;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 16px 5px 13px 5px;
  }
  .cookie-modal {
    min-width: 0;
    width: 98vw;
    max-width: 99vw;
    padding: 18px 8px 19px 8px;
    border-radius: 18px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.09rem; }
  .footer-contact {
    font-size: 0.82em;
  }
  .mobile-menu {
    padding-top: 0;
  }
  .cookie-banner {
    font-size: 0.84rem;
  }
}

/* REMOVE OVERLAP, SPACING */
.card, .service-list > div, .testimonial-card, .section {
  margin-bottom: 24px;
}
.section:last-child, .card:last-child, .service-list > div:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}
.content-wrapper > * + * {
  margin-top: 16px;
}

/* PLAYFUL TEXT HIGHLIGHT (for dynamic look) */
h1, h2, .service-list h3 {
  background: linear-gradient(90deg, #59BE76 2%, #0A4A8E 49%, #FFBC49 97%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine-txt 7s linear infinite alternate;
}
@keyframes shine-txt {
  0% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}

/* MISC */
::-webkit-selection { background: var(--cta); color: var(--text-dark); }
::selection { background: var(--cta); color: var(--text-dark); }

/* Ensure no grid or columns layout is present! */
