/* === CSS RESET & BASELINE === */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F2F2F2;
  color: #17375E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #26A69A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #EA437F;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}

/* === BRAND & PLAYFUL DYNAMIC STYLE === */
:root {
  --primary: #17375E;
  --secondary: #26A69A;
  --accent: #F2F2F2;
  --accent2: #FBD14B;
  --fun-coral: #EA437F;
  --fun-blue: #2599EF;
  --fun-green: #46DBAB;
  --white: #FFF;
  --shadow: 0 4px 16px rgba(23,55,94,0.10);
  --radius: 20px;
  --radius-small: 12px;
  --drop: 0 2px 8px rgba(38,166,154,0.18);
  --focus-outline: 3px dashed var(--fun-coral, #EA437F);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
}
h5, h6 {
  font-size: 0.95rem;
  font-weight: 600;
}

em {
  color: var(--fun-coral);
}
strong {
  color: var(--fun-blue);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(38,166,154,0.14);
  transform: translateY(-6px) scale(1.03) rotate(-1deg) skewX(-2deg);
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-size: 1.08rem;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.testimonial-card:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: 0 8px 32px rgba(38,166,154,0.15);
}
.testimonial-card strong {
  color: var(--secondary);
}

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

/* === PRIMARY LAYOUT COMPONENTS === */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(38,166,154,0.06);
  padding: 0;
  position: sticky;
  z-index: 48;
  top: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 12px 0;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  background: none;
  padding: 8px 14px;
  border-radius: var(--radius-small);
  font-size: 1.05rem;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent2);
  color: var(--fun-coral);
  outline: none;
}
.cta-btn {
  display: inline-block;
  background: var(--fun-coral);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(234,67,127,0.12);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  margin-left: 8px;
  transition: background 0.17s, transform 0.17s;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent2);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  outline: var(--focus-outline);
}

.mobile-menu-toggle {
  display: none;
  background: var(--fun-coral);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--fun-coral);
  outline: var(--focus-outline);
}

.mobile-menu {
  display: flex;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 200;
  transform: translateX(-105vw);
  transition: transform 0.35s cubic-bezier(0.68,-0.55,0.27,1.55);
  opacity: 0.99;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: var(--fun-coral);
  color: #fff;
  font-size: 2.0rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0 24px;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, color 0.18s;
  z-index: 202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent2);
  color: var(--primary);
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  border-radius: var(--radius-small);
  padding: 12px 0 12px 6px;
  margin-bottom: 4px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--fun-coral);
  background: var(--accent2);
  outline: none;
}

/* Hide desktop nav show mobile menu on mobile */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === HERO, GRID, CARDS, CTA, SECTION BANNERS === */
section {
  margin-bottom: 60px;
  padding: 40px 0px 40px 0px;
}
.cta-banner, .newsletter-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(90deg, var(--accent2) 80%, var(--fun-blue) 100%);
  border-radius: var(--radius);
  gap: 16px;
  padding: 36px 12px 40px 12px;
  box-shadow: var(--drop);
  margin: 0 auto;
  min-width: 0;
  margin-bottom: 24px;
}
.cta-banner h2, .newsletter-banner h2 {
  color: var(--primary);
  text-align: center;
}

.feature-grid, .team-overview, .service-cards, .faq-list, .blog-list, .testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div, .team-overview > div, .service-card, .faq-list > div, .blog-list > article {
  flex: 1 1 220px;
  background: var(--white);
  border-radius: var(--radius-small);
  box-shadow: var(--drop);
  padding: 24px 18px 22px 18px;
  min-width: 210px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.feature-grid > div:hover, .team-overview > div:hover, .service-card:hover, .faq-list > div:hover, .blog-list > article:hover {
  box-shadow: 0 8px 32px rgba(234,67,127,0.14);
  transform: scale(1.035) rotate(-1.3deg);
  z-index: 2;
}

.feature-grid img, .team-overview img, .service-cards img, .contact-summary img, .service-card img {
  width: 48px; height: 48px; margin-bottom: 12px;
}

.feature-card h3, .service-card h3 {
  color: var(--fun-coral);
}

/* Blog article highlight */
.featured-article {
  background: var(--fun-green);
  color: var(--primary);
  border-radius: var(--radius-small);
  margin-top: 24px;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 8px rgba(38,166,154,0.10);
  animation: fadeHighlight 2.5s cubic-bezier(.18,1.11,.4,.98);
}
@keyframes fadeHighlight {
  0% { background: var(--fun-coral); color: #fff; }
  70% { background: var(--fun-green); color: var(--primary); }
  100% { background: var(--fun-green); }
}

.newsletter-banner {
  background: linear-gradient(90deg, var(--fun-blue) 65%, var(--accent2) 100%);
  color: var(--white);
}
.newsletter-banner h2, .newsletter-banner p {
  color: #fff;
}

/* === TESTIMONIALS & TRUST === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.trust-signal {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 16px;
}
.trust-signal img {
  width: 28px; height: 28px; margin-right: 4px;
  vertical-align: middle;
}

/* === FAQ === */
.faq-list > div {
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.18s;
}
.faq-list > div:hover {
  background: var(--accent2);
}

/* === CONTACT PREVIEW STYLES === */
.contact-block, .contact-form-preview {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--drop);
  padding: 32px 18px 20px 18px;
  min-width: 220px;
  margin-bottom: 20px;
}
.contact-block p, .contact-form-preview p, .contact-summary div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.contact-block a, .contact-form-preview a {
  text-decoration: underline;
}

/* === LEGAL, FOOTER, SUMMARY === */
.legal {
  background: var(--accent);
  border-radius: var(--radius-small);
  padding: 30px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin: 8px 0 8px 0;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.02rem;
  background: none;
  padding: 7px 12px;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
}
.footer-nav a:hover, .legal-links a:hover {
  background: var(--accent2);
  color: var(--fun-coral);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.99rem;
  color: var(--fun-blue);
  margin: 10px 0px 6px 0px;
}
.legal-links a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.18s;
}
.legal-links a:hover {
  color: var(--fun-coral);
}
.contact-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: 10px;
  font-size: 0.98rem;
  color: var(--primary);
}
footer {
  background: var(--accent2);
  padding: 35px 0 0 0;
  color: var(--primary);
  z-index: 10;
  margin-top: 40px;
  box-shadow: 0 -2px 16px rgba(38,166,154,0.08);
}
footer .container {
  padding: 0 0 18px 0;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
}
footer a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: var(--fun-coral);
}

/* === UTILITY CLASSES === */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }

/* ============ COOKIE CONSENT BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  width: 100vw;
  background: var(--fun-coral);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 18px 16px 18px 20px;
  box-shadow: 0 -4px 24px rgba(23,55,94,0.17);
  animation: bannerUp 0.66s cubic-bezier(.60,-0.15,.44,1.16);
}
@keyframes bannerUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 360px;
  margin-bottom: 0;
  color: #fff;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 100px;
  background: var(--primary);
  color: var(--accent2);
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  margin-left: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(23,55,94,0.11);
  transition: background 0.19s, color 0.19s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent2);
  color: var(--fun-coral);
  outline: var(--focus-outline);
}
.cookie-banner .settings-btn {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .settings-btn:hover {
  background: #fff;
  color: var(--secondary);
}
/* Cookie preferences modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(23,55,94,0.33);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.52s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 370px;
  min-width: 270px;
  width: 96vw;
  padding: 38px 30px 28px 30px;
  box-shadow: 0 8px 32px rgba(23,55,94,0.15);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popModal 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
@keyframes popModal {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 { color: var(--fun-coral); margin-bottom: 8px; font-family: 'Montserrat'; }
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 12px; margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 600; color: var(--primary); font-size: 1.05rem;
}
.cookie-category input[type=checkbox]:not(:disabled) {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-category input[type=checkbox]:disabled {
  accent-color: #ccc;
  filter: grayscale(0.7);
  opacity: 0.56;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal button {
  border: none;
  border-radius: 100px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--fun-coral);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--drop);
  transition: background 0.18s, color 0.16s;
  outline: none;
}
.cookie-modal button:hover, .cookie-modal button:focus { background: var(--primary); color: var(--accent2); outline: var(--focus-outline); }
.cookie-modal .close-modal {
  background: var(--fun-blue); color: #fff; margin-left: auto; margin-top: -28px; margin-bottom: -10px; border-radius: 50%; font-size: 1.2rem; width: 36px; height: 36px; position: absolute; top: 10px; right: 16px;
}

/* ============ ANIMATIONS & MICRO-INTERACTIONS =========== */
.cta-btn, .service-card, .feature-grid > div, .card, .blog-list > article, .testimonial-card, .newsletter-banner, .footer-nav a, .main-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.17s;
}
.cta-btn:active { transform: scale(0.995); }
.service-card:hover, .feature-grid > div:hover, .blog-list > article:hover {
  animation: bounceCard 0.55s cubic-bezier(.36,.47,.54,1.45);
}
@keyframes bounceCard {
  0% { transform: scale(1); }
  40% { transform: scale(1.06) rotate(-2deg); }
  100% { transform: scale(1) rotate(0.7deg); }
}

/* === PLAYFUL: Decorative dots/circles for accent backgrounds (optional) === */
/* Optional: Decorative playful dots (position: absolute only for deco not content) */
/* .deco-dot { ... } */

/* === RESPONSIVE DESIGN – MOBILE FIRST === */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 4vw; padding-right: 4vw; }
  header .container { gap: 10px; }
  .content-wrapper, .feature-grid, .team-overview, .service-cards, .faq-list, .testimonials, .blog-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .cta-banner, .newsletter-banner {
    min-width: 0;
    padding: 22px 6px 24px 6px;
  }
  .service-card, .feature-grid > div, .team-overview > div, .faq-list > div, .blog-list > article {
    min-width: 0;
    max-width: 99vw;
    padding: 18px 8px 18px 10px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 4px;
  }
  .blog-list, .testimonials {
    gap: 12px;
  }
  .legal-links,
  .footer-nav,
  .contact-summary {
    gap: 8px 10px;
    font-size: 0.98rem;
  }
  footer .content-wrapper {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  html { font-size: 13.5px; }
  .container { padding-left: 6px; padding-right: 6px; }
  section { padding: 16px 0; margin-bottom: 28px; }
  .cta-banner, .newsletter-banner { padding: 18px 3px 18px 3px; }
  .service-card, .feature-grid > div, .blog-list > article, .testimonial-card { padding: 10px 5px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 0.98rem; padding: 10px 4vw; }
}

/* === PRINT === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section { margin-bottom: 18px !important; padding: 0 !important; }
}

/* === END OF STYLE.CSS === */