/* --- 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F3;
  color: #18344A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #19647E;
  transition: color .2s;
}
a:hover, a:focus {
  color: #2DCDDF;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: background .2s, color .2s;
}
:root {
  --primary: #19647E;
  --secondary: #2DCDDF;
  --accent: #F7F6F3;
  --neutral: #fff;
  --alert: #FF5A5F;
  --radius: 22px;
  --shadow: 0 3px 15px 0 rgba(41,119,203,.07),0 1.5px 4px 0 rgba(22,51,92,.08);
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--primary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1.06rem;
  margin-bottom: 14px;
  color: #243849;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* --- GLOBAL SPACING & UTILITY CLASSES --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 34px;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(41,100,126,0.07);
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
header nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.04rem;
  padding: 9px 7px;
  border-radius: 15px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  background: var(--secondary);
  color: #18344A;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background .18s, color .18s, box-shadow .18s, transform .1s;
  margin-left: 8px;
  border: 2px solid var(--secondary);
  letter-spacing: 0.03em;
  outline: none;
  text-align: center;
  white-space: nowrap;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px) scale(1.04) rotate(-2deg);
  box-shadow: 0 4px 18px 0 rgba(45,205,223,0.09);
}
.mobile-menu-toggle {
  font-size: 2.1rem;
  color: var(--primary);
  background: transparent;
  display: none;
  margin-left: 16px;
  outline: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background .16s, color .16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 980px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,100,126,0.97);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.63,0.1,0.41,1.34);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 20px 0 0;
  font-size: 2.4rem;
  color: #fff;
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 33px 0 33px;
  gap: 17px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 12px 0 12px 10px;
  width: 100%;
  border-radius: 14px;
  margin-bottom: 6px;
  background: none;
  transition: background .18s, color .18s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --- HERO & SECTION LAYOUTS --- */
section {
  width: 100%;
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 24px 0;
  }
}

.text-section {
  width: 100%;
  background: #fff;
  border-radius: 17px;
  padding: 26px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
}
.text-section:hover {
  box-shadow: 0 9px 24px 0 rgba(41,100,126,0.11);
  transform: translateY(-2px) scale(1.015);
}

/* --- CARDS & FLEXBOX CONTAINERS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .16s, transform .13s;
}
.card:hover {
  box-shadow: 0 13px 34px 0 rgba(45,205,223,0.12);
  transform: translateY(-3px) scale(1.025) rotate(-1.4deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid, .features-grid, .services-cards, .services-list, .advice-cards, .team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.features-grid > div, 
.services-cards > .service-card,
.services-list > .service-block,
.advice-cards > .text-section,
.team-bios > .text-section {
  flex: 1 1 220px;
  min-width: 220px;
  background: #fff;
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .14s, transform .13s;
  position: relative;
}
.features-grid > div:hover,
.service-card:hover,
.service-block:hover,
.advice-cards > .text-section:hover {
  transform: scale(1.028) translateY(-3px) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(45,205,223,0.11);
  z-index: 5;
}
.price {
  font-size: 1.13rem;
  font-family: 'Montserrat',sans-serif;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 7px;
  background: rgba(45,205,223,0.08);
  padding: 5px 13px;
  border-radius: 14px;
}
@media (max-width: 768px) {
  .features-grid, .services-cards, .services-list, .advice-cards, .team-bios {
    flex-direction: column;
    gap: 19px;
  }
}

/* --- FLEXBOX SPACING & ALIGNMENT (PATTERNS) --- */
.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; }
@media (max-width: 768px){
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
}
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- ACCORDION (FAQ) --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: box-shadow .14s, transform .13s;
  position: relative;
}
.faq-item h3 {
  font-family: 'Montserrat',sans-serif;
  font-size: 1.12rem;
  margin-bottom: 7px;
  color: var(--primary);
  transition: color .16s;
}
.faq-answer {
  font-size: 1.03rem;
  color: #18344A;
  padding-top: 7px;
  display: none;
}
.faq-item.active .faq-answer {
  display: block;
  animation: fadeInFaq 0.5s;
}
@keyframes fadeInFaq {
  from{opacity:0;transform:translateY(15px)}
  to{opacity:1;transform:translateY(0)}
}

/* --- TAGS / CATEGORIES --- */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}
.tag {
  background: var(--secondary);
  color: #fff !important;
  border-radius: 13px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 7px 18px;
  display: inline-block;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
  box-shadow: 0 1.5px 8px 0 rgba(45,205,223,0.10);
  transition: background .16s, color .14s, transform .13s;
}
.tag:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.07);
}
@media (max-width: 568px) {
  .category-tags {
    gap: 7px;
  }
  .tag {
    font-size: 0.93rem;
    padding: 6px 12px;
  }
}

/* --- SERVICES & BENEFITS --- */
.services-list {
  gap: 22px;
  flex-direction: row;
  flex-wrap: wrap;
}
.service-block {
  background: #fff;
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  transition: box-shadow .14s, transform .13s;
}
.service-block:hover {
  box-shadow: 0 9px 27px 0 rgba(45,205,223,0.11);
  transform: scale(1.024) translateY(-2.5px);
}
.services-cards {
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  min-width: 210px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .16s, transform .13s;
  align-items: flex-start;
}
.service-card:hover {
  box-shadow: 0 13px 28px 0 rgba(45,205,223,0.13);
  transform: scale(1.025) translateY(-3px) rotate(-1deg);
}

.benefits-list, .services-list, .advice-cards {
  margin-top: 8px;
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 rgba(25,100,126,0.13);
  padding: 24px 22px;
  margin-bottom: 20px;
  max-width: 358px;
  min-width: 200px;
  flex: 1 1 285px;
  transition: box-shadow .15s, transform .12s;
}
.testimonial-card p {
  font-size: 1.13rem;
  color: #222;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 11px 26px 0 rgba(41,100,126,0.18);
  transform: scale(1.025) rotate(2deg) translateY(-5px);
}
@media (max-width: 768px) {
  .testimonial-slider{
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  width: 100%;
  margin-top: 48px;
  padding: 38px 0 16px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 55px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1.02rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color .18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
footer img {
  margin-bottom: 19px;
}
footer p {
  color: #fff;
  font-size: 0.98rem;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* --- BUTTONS & INTERACTIVE --- */
button, .btn-primary {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.12s;
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
.btn-primary, .tag, .service-card, .service-block, .features-grid > div, .testimonial-card, .text-section {
  will-change: transform, box-shadow;
}

@keyframes bounceIn {
  0% { transform: scale(.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
/* Animate h1/h2 for fun, playful pop on load */
h1, h2 {
  animation: bounceIn 1.2s cubic-bezier(0.36,1.16,0.4,1);
  animation-iteration-count: 1;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 130;
  padding: 22px 14px;
  background: #fff;
  color: #15415f;
  box-shadow: 0 -2px 16px 0 rgba(25,100,126,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1rem;
  animation: slideCookieIn .6s cubic-bezier(0.23,1.1,0.51,1);
}
@keyframes slideCookieIn {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn, .cookie-banner .cookie-reject-btn {
  font-family: 'Montserrat',sans-serif;
  padding: 10px 20px;
  margin: 0 4px;
  border-radius: 15px;
  border: 2px solid var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(45,205,223,0.13);
  transition: background .18s, color .18s, box-shadow .16s;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-settings-btn:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .cookie-reject-btn {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner .cookie-reject-btn:hover {
  background: var(--secondary);
  color: #fff;
}
@media(max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.99rem;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,100,126,0.74);
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .4s;
}
@keyframes fadeInModal {
  from{opacity:0;}
  to{opacity:1;}
}
.cookie-modal-content {
  background: #fff;
  color: #123654;
  border-radius: 24px;
  box-shadow: 0 6px 32px 0 rgba(25,100,126,0.15);
  padding: 36px 32px;
  min-width: 320px;
  max-width: 98vw;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: bounceIn 0.77s cubic-bezier(0.56,1.16,0.24,1);
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.4rem;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  background: none;
  color: var(--primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: background .14s, color .14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal-category {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-toggle {
  width: 35px;
  height: 22px;
  border-radius: 12px;
  background: #eaeaea;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background .18s;
  position: relative;
}
.category-toggle input[type="checkbox"] {
  display: none;
}
.category-toggle .toggle-ball {
  width: 22px;
  height: 22px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 2px 7px 0 rgba(45,205,223,0.07);
  transition: left 0.18s;
}
.category-toggle input[type="checkbox"]:checked + .toggle-ball {
  left: 13px;
  background: var(--primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 19px;
}
.cookie-modal-actions .cookie-btn,
.cookie-modal-actions .cookie-reject-btn {
  font-size: 1rem;
  padding: 8px 19px;
  border-radius: 13px;
  font-family: 'Montserrat',sans-serif;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 2px solid var(--secondary);
  transition: background .17s, color .13s, box-shadow .12s;
}
.cookie-modal-actions .cookie-reject-btn {
  background: #fff;
  color: var(--secondary);
}
.cookie-modal-actions .cookie-btn:hover,
.cookie-modal-actions .cookie-btn:focus {
  background: var(--primary);
}
.cookie-modal-actions .cookie-reject-btn:hover,
.cookie-modal-actions .cookie-reject-btn:focus {
  background: var(--secondary);
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-modal-content{
    padding: 24px 8px;
    min-width: 0;
    max-width: 99vw;
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 600px) {
  h1 { font-size: 1.44rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.02rem; }
  .content-wrapper { padding-left: 0; padding-right: 0; gap: 15px; }
  .category-tags { gap: 5px; }
}

@media (max-width: 420px) {
  .cookie-banner { font-size: 0.88rem; padding: 15px 5px; }
  h1, h2 { margin-bottom: 12px; }
}

/* --- PLAYFUL ELEMENTS & COLORS --- */
.features-grid > div, .service-card, .service-block, .testimonial-card, .text-section {
  border: 3px solid transparent;
  background-clip: padding-box;
}
.features-grid > div:nth-child(1) {border-color: #2DCDDF;}
.features-grid > div:nth-child(2) {border-color: #FFC93C;}
.features-grid > div:nth-child(3) {border-color: #F95F62;}
.features-grid > div:nth-child(4) {border-color: #4ECDC4;}
.service-block:nth-child(1) {border-color: #2DCDDF;}
.service-block:nth-child(2) {border-color: #F1A208;}
.service-block:nth-child(3) {border-color: #4ECDC4;}
.service-block:nth-child(4) {border-color: #F95F62;}
.service-block:nth-child(5) {border-color: #EC6EAD;}
.testimonial-card {border-color: #FFC93C;}

/* Fun font-weights for headings */
h1, h2, h3 { font-weight: 800; }
h2, h3 { text-transform: none; }

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 13px;
  background: #F7F6F3;
}
::-webkit-scrollbar-thumb {
  background: #2DCDDF;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #19647E;
}

/* --- MISC / ACCESSIBILITY --- */
:focus {
  outline: 3px dashed var(--secondary);
  outline-offset: 1px;
}

::selection {
  background: var(--secondary);
  color: #fff;
}

/* --- END OF STYLES --- */
