/*----------------------------------*
  CSS RESET & BASE 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, 
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;
}

html {
  box-sizing: border-box;
  width: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F7;
  color: #212338;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #40977A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EF48A5;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
}

/*------------------------------------------------------*
    PLAYFUL & DYNAMIC COLORS, TYPOGRAPHY, BRAND FOCUS
 *-----------------------------------------------------*/
:root {
  --nf-primary: #212338;
  --nf-secondary: #40977A;
  --nf-accent: #F7F7F7;
  --nf-bright1: #ffe34d;   /* playful yellow */
  --nf-bright2: #47c9e5;   /* sky blue for accents */
  --nf-bright3: #EF48A5;   /* playful pink */
  --nf-white: #fff;
  --nf-shadow: 0 2px 16px 0 rgba(33,35,56,0.08);
  --nf-radius: 18px;
}

/* Every display heading uses Montserrat for playful look */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.2rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 1.7rem; margin-bottom: 14px; color: var(--nf-secondary);}
h3 { font-size: 1.2rem; margin-bottom: 10px; }
h4, h5 { font-size: 1.05rem; }

p, li, address {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
}

b, strong { font-weight: 700; }

/*------------------------------------------------------*
   GENERAL LAYOUT CONTAINERS, FLEXBOX & RESPONSIVE GRID
 *-----------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--nf-accent);
  border-radius: var(--nf-radius);
  position: relative;
}

/*----------------------*
  HEADER & NAVIGATION   *
 *----------------------*/
header {
  background: var(--nf-primary);
  box-shadow: 0 2px 12px 0 rgba(33,35,56,0.09);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 24px;
}
header a img {
  height: 48px;
  width: auto;
  transition: transform 0.2s;
}
header a img:hover {
  transform: rotate(-8deg) scale(1.05);
}

nav {
  display: flex;
  gap: 22px;
}
nav a {
  color: var(--nf-accent);
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  position: relative;
  padding: 7px 0;
  transition: color 0.15s;
}
nav a:after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: var(--nf-bright3);
  border-radius: 3px;
  transition: width 0.22s cubic-bezier(.98,.05,.05,.95);
  margin-top: 3px;
}
nav a:hover:after, nav a:focus:after {
  width: 100%;
}

.cta-button {
  background: linear-gradient(90deg,var(--nf-bright1),var(--nf-bright3) 98%);
  color: var(--nf-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 11px 32px;
  box-shadow: 0 3px 18px 0 rgb(239 72 165 / 0.12);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.26s;
  letter-spacing: 0.4px;
  outline: none;
  margin-left: 18px;
  position: relative;
  z-index: 10;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--nf-bright2), var(--nf-bright3) 94%);
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
  color: var(--nf-white);
  box-shadow: 0 8px 30px 0 rgb(44 201 195 / 0.18);
}

/*---------------*
   HERO SECTION  *
 *---------------*/
.hero {
  background: linear-gradient(120deg,var(--nf-secondary) 75%,var(--nf-bright2) 150%);
  color: var(--nf-white);
  border-radius: 0 0 38px 38px;
  padding-top: 55px;
  padding-bottom: 65px;
  box-shadow: 0 6px 40px -8px rgb(64 151 122 / 0.13);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.hero h1 { color: #fff; font-size: 2.8rem; font-family: 'Montserrat', cursive, sans-serif; text-shadow: 0 2px 11px rgba(33,35,56,0.14); }
.hero p {
  color: var(--nf-accent);
  font-size: 1.18rem;
  margin-bottom: 26px;
}
.hero .cta-button {
  margin-top: 6px;
  font-size: 1.15rem;
}

/*---------------------*
    FLEX LAYOUT ZONES  *
 *---------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  box-shadow: var(--nf-shadow);
  padding: 28px 20px;
  min-width: 260px;
  max-width: 390px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s, transform 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 32px 0 rgb(33 35 56 / 0.17);
  transform: translateY(-2px) scale(1.025) rotate(-1deg);
}

.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;
}

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

.service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: var(--nf-white);
  border-radius: var(--nf-radius);
  padding: 25px 18px 23px;
  box-shadow: 0 3px 16px 0 rgba(64,151,122,.10);
  min-width: 255px;
  max-width: 395px;
  flex: 1 1 265px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.21s, transform 0.15s;
  border: 2.5px dashed var(--nf-bright1);
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 13px 40px 0 rgb(33 201 155 / 0.13);
  border-color: var(--nf-bright3);
  transform: scale(1.021) rotate(2deg);
}
.service-card img {
  width: 46px;
  margin-bottom: 7px;
  filter: drop-shadow(0 2px 4px #21233810);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--nf-bright1);
  color: var(--nf-primary);
  padding: 19px 23px;
  border-radius: 16px;
  box-shadow: var(--nf-shadow);
  margin-bottom: 5px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 600;
  position: relative;
}
.faq-item:hover { background: var(--nf-bright3); color: #fff; }

.article-list li {
  background: var(--nf-bright2);
  border-radius: 11px;
  margin-bottom: 15px;
  padding: 10px 16px;
  transition: background 0.18s, color 0.15s;
  width: fit-content;
}
.article-list li a {
  color: var(--nf-primary);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.14s;
}
.article-list li:hover,
.article-list li:focus {
  background: var(--nf-bright3);
}
.article-list li:hover a,
.article-list li:focus a {
  color: #fff;
}

.categories-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.categories-list li {
  background: var(--nf-bright1);
  padding: 6px 12px;
  border-radius: 9px;
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--nf-primary);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.newsletter-form input[type="email"] {
  border: 2.2px solid var(--nf-bright2);
  border-radius: 24px;
  padding: 11px 16px;
  font-size: 1.08rem;
  width: 220px;
  outline: none;
  transition: border 0.13s;
  margin-bottom: 7px;
}
.newsletter-form input[type="email"]:focus {
  border: 2.2px solid var(--nf-bright3);
}
.newsletter-form .cta-button {
  margin-left: 0;
}

.pricing-table {
  width: 100%;
  border-spacing: 0;
  margin-bottom: 23px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--nf-white);
  box-shadow: var(--nf-shadow); 
  font-size: 1.08rem;
}
.pricing-table th, .pricing-table td {
  padding: 15px 18px;
  text-align: left;
}
.pricing-table th {
  background: var(--nf-bright2);
  color: #fff;
  font-size: 1.01rem;
  font-weight: 700;
  font-family: 'Montserrat', cursive, sans-serif;
  border-bottom: 2.5px solid var(--nf-secondary);
}
.pricing-table td {
  background: #fff;
}
.pricing-table tr:not(:last-child) td {
  border-bottom: 1.2px dashed var(--nf-bright1);
}

.pricing-notes {
  background: var(--nf-bright1);
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px -2px #f7e34d28;
  margin-bottom: 17px;
}

/*-------------------*
  TEAM & TRUST BADGES
 *-------------------*/
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.text-section {
  background: #fff;
  border-radius: 15px;
  padding: 22px 17px;
  box-shadow: 0 1px 10px 0 #47c9e519;
  flex: 1 1 250px;
  margin-bottom: 10px;
}
.certifications {
  background: var(--nf-bright2);
  border-radius: 15px;
  color: #fff;
  padding: 12px 17px;
  margin-bottom: 10px;
  box-shadow: 0 1px 10px 0 #47c9e519;
}
.trust-badges {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 18px 0;
}
.trust-badges img {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: var(--nf-bright1);
  box-shadow: 0 2px 6px #21233810;
}

/*---------------------*
     TESTIMONIALS     *
 *--------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 2px #40977a22;
  color: #232238;
  position: relative;
}
.testimonial-card p {
  color: #212338;
  font-weight: 500;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.quote-highlights p {
  font-size: 1.22rem;
  color: var(--nf-bright3);
  background: var(--nf-bright1);
  border-radius: 16px;
  padding: 14px 20px;
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 700;
  margin: 22px 0 16px;
  box-shadow: 0 2px 10px #ffe34d18;
}

/*----------------*
  FOOTER SECTION  *
 *----------------*/
footer {
  background: var(--nf-primary);
  color: var(--nf-accent);
  padding: 44px 0 16px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-logo img {
  width: 56px;
  margin-bottom: 10px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-menu a {
  color: var(--nf-bright3);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  margin-bottom: 2px;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: var(--nf-bright1);
}
.footer-contact address {
  font-style: normal;
  margin-bottom: 10px;
  color: var(--nf-bright2);
}
.footer-contact a {
  color: var(--nf-bright1);
}
.footer-contact a:hover { color: #fff; }

/*--------------*
  MOBILE MENU   *
 *--------------*/
.mobile-menu-toggle {
  display: none; /* show on mobile only */
  background: var(--nf-bright3);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 19px;
  top: 15px;
  z-index: 102;
  transition: background 0.23s, transform 0.13s;
  box-shadow: 0 3px 20px #ef48a511;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--nf-bright2);
  color: var(--nf-primary);
  transform: scale(1.06);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--nf-white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.83,.08,.09,1.02);
  padding: 30px 23px 0 23px;
  box-shadow: 0 2px 40px #21233813;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--nf-bright1);
  color: var(--nf-primary);
  border: none;
  border-radius: 14px;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 5px 14px;
  cursor: pointer;
  z-index: 222;
  transition: background 0.16s, color 0.15s;
}
.mobile-menu-close:hover { background: var(--nf-bright3); color: #fff; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 65px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', cursive, sans-serif;
  color: var(--nf-primary);
  font-size: 1.17rem;
  font-weight: 700;
  background: var(--nf-bright2);
  padding: 14px 12px;
  border-radius: 12px;
  width: 100%;
  margin-bottom: 2px;
  box-shadow: 0 4px 12px #47c9e51a;
  transition: background 0.15s, color 0.14s;
  text-align: left;
}
.mobile-nav a:hover {
  background: var(--nf-bright3);
  color: #fff;
}

/* Backdrop blur for mobile menu when open */
.mobile-menu.active:before {
  content: '';
  position: fixed;
  inset: 0;
  background: #21233815;
  pointer-events: none;
  z-index: -1;
}

/*-------------------*
 COOKIE CONSENT BANNER
 *-------------------*/
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--nf-bright1);
  color: var(--nf-primary);
  z-index: 350;
  padding: 27px 24px 21px 24px;
  box-shadow: 0 -10px 22px 0 #ffd70026;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  font-family: 'Roboto', Arial, sans-serif;
  animation: appearUp 0.7s ease;
}
@keyframes appearUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cookie-banner p {
  font-size: 1rem;
  font-weight: 500;
}
#cookie-banner .cookie-btns {
  display: flex;
  gap: 13px;
}
#cookie-banner button {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.14s, box-shadow 0.16s;
  box-shadow: 0 2px 8px #ffe34d18;
}
#cookie-banner .accept {
  background: var(--nf-bright3);
  color: #fff;
}
#cookie-banner .accept:hover {
  background: var(--nf-bright2);
  color: var(--nf-primary);
}
#cookie-banner .reject {
  background: #fff;
  color: var(--nf-primary);
  border: 2px solid var(--nf-bright3);
}
#cookie-banner .reject:hover {
  background: var(--nf-bright3);
  color: #fff;
}
#cookie-banner .cookie-settings {
  background: var(--nf-bright2);
  color: #fff;
}
#cookie-banner .cookie-settings:hover {
  background: var(--nf-bright1);
  color: var(--nf-primary);
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 399;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #21233899;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
#cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
  animation: modalScale 0.44s cubic-bezier(.88,.11,.09,1.07);
}
@keyframes modalScale {
  from { transform: scale(0.85) translateY(80px); }
  to   { transform: scale(1) translateY(0); }
}
#cookie-modal .modal-content {
  background: var(--nf-white);
  min-width: 340px;
  max-width: 95vw;
  padding: 33px 25px 24px 25px;
  border-radius: 21px;
  box-shadow: 0 7px 32px #40977a29;
  color: var(--nf-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
#cookie-modal h3 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
#cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.01rem;
}
#cookie-modal input[type='checkbox'] {
  accent-color: var(--nf-bright2);
}
#cookie-modal .modal-btns {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
#cookie-modal .close-modal {
  position: absolute;
  right: 13px;
  top: 9px;
  background: transparent;
  border: 0;
  font-size: 1.54rem;
  color: var(--nf-primary);
  cursor: pointer;
}

/*----------------------*
   MICRO-INTERACTIONS   *
 *----------------------*/
.card, .service-card, .testimonial-card, .faq-item {
  transition: box-shadow 0.18s, transform 0.16s, border-color 0.19s;
}
.card:active, .service-card:active, .testimonial-card:active,
.faq-item:active {
  transform: scale(0.97) rotate(-.5deg);
}
.cta-button:active {
  transform: scale(0.97) rotate(-1deg);
}

/*-------------------------------*
   PLAYFUL DYNAMIC DETAILS & FUN *
 *-------------------------------*/
.hero:after {
  /* Fun squiggle in upper corner (decorative only) */
  content: '';
  position: absolute;
  top: -40px;
  right: -26px;
  width: 120px;
  height: 120px;
  background: url('../assets/icons/squiggle.svg') no-repeat center/contain;
  opacity: 0.21;
  z-index: 0;
  pointer-events: none;
}

.service-card:before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 12px; right: 17px;
  width: 28px; height: 28px;
  background: url('../assets/icons/star.svg') no-repeat center/contain;
  opacity: 0.12;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .container { max-width: 99vw; }
}
@media (max-width: 1000px) {
  .footer-contact { flex: 1 1 100%; min-width: unset; }
  .footer-logo, .footer-menu, .footer-contact {
    margin-bottom: 14px;
  }
  footer .container {
    gap: 19px;
  }
}
@media (max-width: 850px) {
  .footer-contact, .footer-logo, .footer-menu {
    flex: 1 1 100%;
    min-width: unset;
  }
  footer .container { flex-direction: column; gap: 15px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .section {
    padding: 30px 5px;
    margin-bottom: 38px;
  }
  .content-grid, .card-container, .testimonial-grid, .team-members, .service-list, .service-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 19px; }
  .newsletter-form { flex-direction: column; align-items: stretch; gap: 10px; }
  .card, .service-card, .text-section {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .hero h1 { font-size: 1.65rem; }
  .hero { padding: 33px 6px 40px 6px; border-radius: 0 0 28px 28px;}

  /* Navigation */
  header .container nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .section { padding: 21px 2px; margin-bottom: 27px; }
  .testimonial-card, .service-card, .card {
    padding: 17px 9px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 18px 6px;
    gap: 11px;
  }
  #cookie-modal .modal-content { min-width: 95vw; padding: 22px 7px 17px 7px;}
}
@media (max-width: 450px) {
  .hero h1 { font-size: 1.28rem; }
  .service-card img { width: 36px; }
}

/*-------------------*
 UTILITY CLASSES     *
 *------------------*/
.mb-0 { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.text-center { text-align: center !important; }

::-webkit-input-placeholder { color: #CBCBF5; }
:-moz-placeholder { color: #CBCBF5; }
::-moz-placeholder { color: #CBCBF5; }
:-ms-input-placeholder { color: #CBCBF5; }
::placeholder { color: #CBCBF5; }

/* Visually hidden for a11y */
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; overflow: hidden!important; clip: rect(1px,1px,1px,1px)!important; white-space: nowrap!important; border: 0!important; }
