/* RESET & BASE --------------------------------------------------- */
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 {
  font-size: 16px;
  background: #F4F7F9;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  color: #24588C;
  background: #F4F7F9;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
ul, ol {
  list-style: none;
}
a {
  color: #24588C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A3B451;
  outline-offset: 2px;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #24588C;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px;  }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
.lead {
  font-size: 1.18rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #5C6E91;
  margin-bottom: 20px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
section ul, section ol {
  margin-bottom: 18px;
}

/* SPACING & LAYOUT ---------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(36,88,140,0.05);
  transition: box-shadow 0.3s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 36px;
  }
}
/* Cards and card containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  padding: 32px 24px;
  background: #FAFCFD;
  border-radius: 20px;
  box-shadow: 0 6px 26px rgba(36,88,140,0.10);
  transition: box-shadow 0.25s, transform 0.16s;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 1;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 38px rgba(36,88,140,0.17);
  transform: translateY(-3px) scale(1.028);
}

.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;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(36,88,140,0.08);
  color: #242D38;
  margin-bottom: 20px;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  max-width: 620px;
}
.testimonial-card strong {
  font-weight: 700;
  color: #24588C;
  margin-left: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .content-grid, .text-image-section { flex-direction: column; gap: 18px; }
}

/* Header + NAVIGATION ------------------------------------------- */
header {
  position: relative;
  background: #FFF;
  box-shadow: 0 1px 18px rgba(36,88,140,0.04);
  padding-top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.main-nav > a > img {
  height: 46px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #24588C;
  background: transparent;
  border-radius: 7px;
  padding: 7px 13px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #A3B451;
  color: #FFF;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  border-radius: 20px;
  padding: 12px 30px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px rgba(36,88,140,0.13);
  border: none;
  outline: none;
  cursor: pointer;
  margin: 12px 0 0 0;
  text-align: center;
  transition: background 0.22s, color 0.19s, transform 0.14s;
  position: relative;
  z-index: 1;
}
.btn-primary {
  color: #FFF;
  background: #24588C;
  border: 2px solid #24588C;
}
.btn-primary:hover, .btn-primary:focus {
  background: #A3B451;
  color: #fff;
  border-color: #A3B451;
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(163,180,81,0.13);
}
.btn-secondary {
  color: #24588C;
  background: #A3B451;
  border: 2px solid #A3B451;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #FFF;
  background: #24588C;
  border-color: #24588C;
}

/* Hamburger MOBILE MENU ----------------------------------------- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 16px;
  background: #A3B451;
  color: #FFF;
  font-size: 2rem;
  border-radius: 7px;
  width: 48px;
  height: 48px;
  border: none;
  z-index: 222;
  box-shadow: 0 3px 13px rgba(36,88,140,0.13);
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: #24588C; }
@media (min-width:900px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(36,88,140,0.94);
  z-index: 224;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.72,.3,.37,1.2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFF;
  color: #A3B451;
  border: none;
  font-size: 2.4rem;
  margin: 30px 24px 16px 0;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(163,180,81,0.13);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: #A3B451; color: #FFF; }
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 85vw;
  max-width: 340px;
  background: #F4F7F9;
  border-radius: 22px 0 0 22px;
  padding: 36px 32px;
  box-shadow: -4px 0 22px rgba(163,180,81,0.08);
  margin: 0 0 0 auto;
  min-height: 88vh;
}
.mobile-menu .mobile-nav a {
  color: #24588C;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 12px 0;
  border-bottom: 2px solid #F4F7F9;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  background: #A3B451;
  color: #FFF;
  border-bottom: 2px solid #A3B451;
}
@media (min-width:900px) {
  .mobile-menu { display: none !important; }
}
@media (max-width:899px) {
  .main-nav ul,
  .main-nav .btn-primary { display: none !important; }
  .main-nav {
    min-height: 66px;
    padding: 12px 0;
    flex-wrap: nowrap;
    gap: 0;
  }
}

/* HERO, FEATURES, SERVICES LISTS ------------------------------- */
.features-list, .service-list, .blog-post-list, .tips-grid, .contact-methods, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.features-list li, .service-list li, .blog-post-list li, .tips-grid li, .contact-methods li, .contact-details li {
  background: #FFFDE6;
  padding: 18px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1rem;
  color: #24588C;
  box-shadow: 0 1px 7px rgba(163,180,81,0.07);
  font-weight: 500;
  gap: 16px;
  transition: box-shadow 0.18s, background 0.18s;
}
.features-list li:hover, .service-list li:hover, .tips-grid li:hover, .contact-methods li:hover {
  background: #A3B451;
  color: #FFF;
  box-shadow: 0 3px 16px rgba(163,180,81,0.17);
}
.features-list li img, .contact-methods li img, .contact-details li img {
  width: 32px;
  height: 32px;
}
.service-list li {
  flex: 1 1 220px;
  max-width: 380px;
  min-width: 220px;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.service-list li strong {
  font-size: 1.1rem;
  color: #24588C;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.service-list li em { color: #A3B451; font-style: normal; font-weight: 700; font-size: 1rem; }

/* Blog and tips extra */
.blog-post-list li, .tips-grid li {
  border-left: 5px solid #A3B451;
  background: #F7FBF4;
  margin-bottom: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 18px 26px;
}
.blog-post-list li strong { color: #24588C; }

/* About/Team/Strengths sections ---------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.team-snapshot, .strengths-overview, .design-highlights, .how-to-guides, .popular-topics, .quick-facts, .unique-methods, .company-info, .map-embed {
  border-radius: 14px;
  background: #F7FBF7;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(163,180,81,0.05);
}
.map-embed {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #FFFDF5;
  border: 2px dashed #A3B451;
}

/* CALLOUTS/CTA -------------------------------------------------- */
.cta {
  background: #A3B451;
  color: #FFF;
  border-radius: 18px;
  padding: 32px 22px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(36,88,140,0.09);
  font-family: 'Montserrat',Arial,sans-serif;
}
.cta h2 {
  color: #FFF;
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #24588C;
  color: #FFF;
  margin-top: 60px;
  padding: 0 0 24px 0;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #A3B451;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  padding: 8px 0;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #FFF; text-decoration: underline; }
.brand-info {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.brand-info img {
  height: 44px;
  width: auto;
}
@media (max-width:600px) {
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 13px; }
  .brand-info { flex-direction: column; align-items: flex-start; gap: 7px; }
}

/* FORMS --------------------------------------------------------- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid #A3B451;
  padding: 12px 16px;
  outline: none;
  background: #F7FBF7;
  margin-bottom: 18px;
  color: #24588C;
  box-shadow: 0 1px 5px rgba(163,180,81,0.06);
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus { border-color: #24588C; }
label { font-weight: bold; margin-bottom: 4px; display: block; }

/* ANIMATED ELEMENTS, MICRO-INTERACTIONS ------------------------- */
.btn-primary, .btn-secondary,
.card, .testimonial-card,
.features-list li, .service-list li, .tips-grid li, .blog-post-list li {
  transition: box-shadow 0.22s, background 0.19s, color 0.18s, transform 0.13s;
}
.card:hover, .service-list li:hover, .features-list li:hover, .btn-primary:hover, .btn-secondary:hover {
  transform: scale(1.035) translateY(-2px) rotate(-0.3deg);
}
.testimonial-card {
  animation: testimonial-pop 0.88s cubic-bezier(.22,1,.36,1);
}
@keyframes testimonial-pop {
  0% { opacity: 0; transform: translateY(18px) scale(0.8); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.04); }
  85% { transform: translateY(1px) scale(0.99); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* SCROLLBAR --------------------------------------------- */
::-webkit-scrollbar { width: 10px; background: #F4F7F9; }
::-webkit-scrollbar-thumb { background: #A3B451; border-radius: 7px; }

/* COOKIE CONSENT BANNER ----------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #24588C;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 25px 18px 15px 18px;
  z-index: 8888;
  font-size: 1rem;
  box-shadow: 0 -4px 30px rgba(36,88,140,0.16);
  animation: cookieIn 0.7s cubic-bezier(.23,1.1,.34,1) 0s 1 normal both;
}
@keyframes cookieIn {
  0% { transform: translateY(100%); opacity: 0; }
  70% { transform: translateY(-3px) scaleY(1.04); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #FFF;
  font-size: 1rem;
  margin-bottom: 0;
  flex: 1 1 180px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  outline: none;
  background: #A3B451;
  color: #FFF;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  padding: 11px 26px;
  box-shadow: 0 1px 5px rgba(163,180,81,0.08);
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn.secondary {
  background: #FFF;
  color: #24588C;
  border: 1.7px solid #A3B451;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #24588C;
  color: #FFF;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #A3B451;
  color: #FFF;
}

/* COOKIE MODAL -------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,88,140,0.84);
  z-index: 8890;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: cookieModalIn 0.41s cubic-bezier(.73,1.13,.52,1.25) 0s 1 normal both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.7) translateY(-60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content {
  background: #FFF;
  color: #24588C;
  border-radius: 23px;
  padding: 38px 32px 18px 32px;
  box-shadow: 0 3px 40px rgba(36,88,140,0.15);
  min-width: 340px;
  max-width: 92vw;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  align-items: stretch;
  position: relative;
}
.cookie-modal-content h3 {
  color: #24588C;
  margin-bottom: 10px;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.2rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Roboto',Arial,sans-serif;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A3B451;
  width: 20px;
  height: 20px;
}
.cookie-category .category-label {
  font-weight: 600;
  color: #24588C;
}
.cookie-close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #A3B451;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-close-btn:hover, .cookie-close-btn:focus { color: #24588C; }

/* MISC & UTILS -------------------------------------------------- */
hr { border-top: 1px solid #A3B451; margin: 34px 0; }
::-webkit-input-placeholder { color: #91a1b9; }
::-moz-placeholder { color: #91a1b9; }
:-ms-input-placeholder { color: #91a1b9; }
::placeholder { color: #91a1b9; }

/* RESPONSIVE ---------------------------------------------------- */
@media (max-width: 900px) {
  .main-nav { flex-direction: row; padding-left: 10px; padding-right: 10px; }
  .container { max-width: 98vw; padding: 0 7px; }
}
@media (max-width:768px) {
  .section { padding: 30px 7px; margin-bottom: 36px; border-radius: 14px; }
  .testimonial-card { padding: 12px 7px; font-size: 1rem; border-radius: 11px; }
  .card, .service-list li, .features-list li, .tips-grid li, .blog-post-list li { padding: 18px 10px; border-radius: 12px; }
  .content-wrapper { gap: 14px; }
  .footer-nav { gap: 14px; font-size: 0.98rem; }
}
@media (max-width:490px) {
  .container { padding: 0 2px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.13rem; margin-bottom: 10px; }
  .testimonial-card strong { margin-left: 4px; }
  .btn-primary, .btn-secondary { padding: 11px 12px; font-size: 0.96rem; }
}

/* FUN FONTS FOR PLAYFUL FEEL ------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

/* ENSURE MINIMUM SPACING BETWEEN CARDS/SECTIONS ----------------- */
section + section { margin-top: 22px; }
.card + .card, .service-list li + li, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}
.content-wrapper > * + * { margin-top: 16px; }

/* VISUAL HIERARCHY ---------------------------------------------- */
h1, h2, h3 { text-shadow: 0 1px 3px rgba(163,180,81,0.045); }

/* PLAYFUL DYNAMIC COLOR SPOTS (DECORATIVE ABSOLUTE) ------------- */
.card::before, .testimonial-card::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #A3B451;
  opacity: 0.13;
  z-index: 0;
}
.card::after, .testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -15px; right: -14px;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #24588C;
  opacity: 0.08;
  z-index: 0;
}
/* On small screens, hide decorative dots */
@media (max-width:600px) {
  .card::before, .card::after, .testimonial-card::before, .testimonial-card::after { display: none; }
}

/* UTILITIES & OVERRIDES ----------------------------------------- */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* CRITICAL: Ensure no elements overlap by spacing and z-index */
.card, .testimonial-card, .cookie-banner, .cookie-modal, .btn-primary, .btn-secondary {
  z-index: 2;
}

/* END OF CSS */
