/* -----------------------------
   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, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #FFFDF8;
  font-family: 'Roboto', Arial, sans-serif;
  color: #20405A;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: inside disc;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #20405A;
  text-decoration: none;
  transition: color .2s;
}
button, .cta-primary, .cta-secondary {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border: none;
}
:focus-visible {
  outline: 2px solid #F6B930;
}

/* --------- Fonts --------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #20405A;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1.15rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #31475F;
}
strong { font-weight: 700; }

/* ---------- Layout & Containers ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(246,185,48,0.08), 0 0.5px 2px 0 rgba(32,64,90,0.03);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 10px;
    border-radius: 14px;
  }
}

/* ---------- Flexbox Layouts ---------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  position: relative;
  background: #FFFDF8;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(32,64,90,0.08);
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: transform 0.18s cubic-bezier(.4,.01,.165,1), box-shadow 0.18s cubic-bezier(.4,.01,.165,1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(246,185,48,0.13);
  transform: translateY(-4px) scale(1.01);
}

.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;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-width: 0;
  background: #FFF8EA;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(246,185,48,0.14);
  margin-bottom: 20px;
  font-size: 1.05rem;
  transition: box-shadow 0.18s, transform 0.15s;
  color: #20405A;
}
.testimonial-card p {
  font-size: 1.05rem;
  flex: 1 1 auto;
  color: #20405A;
}
.testimonial-card span {
  font-size: 0.95rem;
  font-style: italic;
  color: #B07D12;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  opacity: .86;
}
.testimonial-card:hover {
  box-shadow: 0 6px 16px rgba(246,185,48,0.18);
  transform: translateY(-2px) scale(1.008);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFDF8;
  padding: 18px 16px;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(246,185,48,0.08);
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-item {
  background: #FFF8EA;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(246,185,48,0.08);
  padding: 24px 18px;
  flex: 1 1 265px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
}
.service-item:hover {
  box-shadow: 0 6px 16px rgba(246,185,48,0.18);
  transform: translateY(-2px) scale(1.01);
}
.service-price {
  margin-top: 14px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #B07D12;
  font-weight: 700;
  font-size: 1.1rem;
  background: #FFFDF8;
  padding: 3px 10px;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(246,185,48,.10);
  display: inline-block;
}

/* ---------- Blog Cards & Widgets ---------- */
.blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post {
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(246,185,48,0.09);
  padding: 24px 18px;
  flex: 1 1 285px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .15s;
}
.blog-post:hover {
  box-shadow: 0 6px 16px rgba(246,185,48,0.18);
  transform: translateY(-2px) scale(1.01);
}

.blog-categories {
  margin-top: 12px;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 8px;
}
.blog-categories li {
  background: #FFF8EA;
  color: #B07D12;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: .96rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

.searchbar {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 20px;
}
.searchbar input {
  flex: 1;
  border-radius: 10px;
  border: 1.5px solid #E6DEC4;
  padding: 10px 18px;
  font-size: 1.05rem;
  transition: border-color .2s;
  background: #FFFDF8;
}
.searchbar input:focus {
  border-color: #F6B930;
}

.quick-tips {
  background: #FDF6E5;
  border-radius: 11px;
  padding: 16px 16px;
  margin-top: 12px;
}
.quick-tips h3 {
  margin-bottom: 10px;
  color: #B07D12;
}
.quick-tips ul {
  margin-bottom: 0;
}
.quick-tips li {
  color: #20405A;
  margin-bottom: 8px;
}

.contact-details {
  background: #FDF6E5;
  border-radius: 11px;
  padding: 18px 16px;
  margin-bottom: 18px;
}
.contact-details p {
  margin-bottom: 8px;
}

/* --------- CTA & Buttons --------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 26px;
  font-size: 1.15rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(246,185,48,0.14), 0 0.5px 2px rgba(32,64,90,0.03);
  transition: background .20s, color .20s, box-shadow .15s, transform .15s;
  border: none;
}
.cta-primary {
  background: #F6B930;
  color: #20405A;
}
.cta-primary:hover, .cta-primary:focus {
  background: #20405A;
  color: #FFFDF8;
  box-shadow: 0 6px 14px rgba(32,64,90,0.07);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: #20405A;
  color: #F6B930;
  border: 2px solid #F6B930;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F6B930;
  color: #20405A;
  border-color: #20405A;
  box-shadow: 0 6px 14px rgba(32,64,90,.11);
  transform: translateY(-2px) scale(1.03);
}
button {
  border-radius: 10px;
  background: transparent;
  color: #20405A;
  font-weight: 500;
  font-size: 1rem;
  transition: background .16s, color .16s;
  padding: 0;
}

/* --------- Header & Navigation --------- */
header {
  background: #FFFDF8;
  box-shadow: 0 1px 10px rgba(246,185,48,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  padding: 7px 13px;
  font-size: 1rem;
  color: #20405A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: #F6B930;
  color: #20405A;
}
header img {
  width: 156px;
  min-width: 90px;
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #F6B930;
  color: #20405A;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 8px;
  line-height: 1;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(32,64,90,0.10);
  margin-left: 10px;
  transition: background .16s, color .16s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #20405A;
  color: #FFFDF8;
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  header nav {
    gap: 9px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* ------------------------
   MOBILE MENU OVERLAY
------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 0 38px 0 rgba(32, 64, 90, 0.11);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.45,1.2,0.3,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  border-radius: 50%;
  font-size: 2rem;
  background: #F6B930;
  color: #20405A;
  margin: 24px 24px 0 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: background .16s, color .16s;
  z-index: 1300;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #20405A;
  color: #FFFDF8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
  margin-right: 0;
  margin-top: 60px;
  padding-right: 36px;
}
.mobile-nav a {
  display: block;
  width: 100%;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #20405A;
  padding: 16px 0 16px 20px;
  border-radius: 16px 0 0 16px;
  background: transparent;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6B930;
  color: #20405A;
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --------- Main Content --------- */
main {
  width: 100%;
  padding-bottom: 36px;
  min-height: 400px;
}

section {
  width: 100%;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 34px;
  }
}

/* --------- Footer --------- */
footer {
  background: #FFF8EA;
  box-shadow: 0 -1px 18px rgba(246,185,48,0.06);
  padding: 36px 0 16px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  width: 132px;
  min-width: 82px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
footer nav a {
  font-size: 0.97rem;
  color: #20405A;
  background: #fff;
  padding: 5px 15px;
  border-radius: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background .14s, color .14s;
}
footer nav a:hover, footer nav a:focus {
  background: #F6B930;
  color: #20405A;
}
.contact-short {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .98rem;
  color: #77622c;
}

@media (max-width: 1020px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  footer nav {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* -------------- Cookie Consent -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #20405A;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px 24px 18px;
  box-shadow: 0 -3px 16px rgba(20,28,58,.13);
  z-index: 2000;
  font-size: 1rem;
  transition: transform .4s, opacity .4s;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  flex: 1 1 220px;
  margin-bottom: 0;
  color: #FFFFFF;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 9px 22px;
  border-radius: 20px;
  background: #F6B930;
  color: #20405A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px rgba(246,185,48,.08);
  margin-left: 8px;
  transition: background .18s, color .18s, box-shadow .12s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #FFFDF8;
  color: #20405A;
  box-shadow: 0 5px 10px rgba(246,185,48,0.12);
}
.cookie-banner .cookie-btn-secondary {
  background: #20405A;
  border: 2px solid #F6B930;
  color: #F6B930;
}
.cookie-banner .cookie-btn-secondary:hover, .cookie-banner .cookie-btn-secondary:focus {
  background: #F6B930;
  color: #20405A;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 9px;
    font-size: 0.97rem;
  }
  .cookie-banner p {
    flex: none;
  }
}

/* ---------- Cookie Modal ---------- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -160%);
  width: 95vw;
  max-width: 440px;
  background: #FFFDF8;
  color: #20405A;
  border-radius: 20px;
  box-shadow: 0 12px 44px rgba(32,64,90,0.16);
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(0.4,1.13,0.33,1), opacity .25s;
  padding: 36px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cookie-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h3 {
  color: #B07D12;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category label {
  font-size: 1.08rem;
  color: #20405A;
}
.cookie-modal .category-disabled {
  opacity: .67;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  border: none;
  background: #F6B930;
  color: #20405A;
  border-radius: 50%;
  font-size: 1.3rem;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  transition: background .13s, color .13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #20405A;
  color: #FFFDF8;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  padding: 9px 22px;
  border-radius: 20px;
  background: #F6B930;
  color: #20405A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow: 0 2px 8px rgba(246,185,48,.06);
  transition: background .13s, color .13s, box-shadow .10s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #20405A;
  color: #FFFDF8;
  box-shadow: 0 5px 10px rgba(246,185,48,0.12);
}

/* ---------- Misc & Common ---------- */
::-webkit-scrollbar {
  width: 8px;
  background: #FFFDF8;
}
::-webkit-scrollbar-thumb {
  background: #F6B930;
  border-radius: 8px;
}

/* Links in content */
.content-wrapper a:not(.cta-primary):not(.cta-secondary),
section a:not(.cta-primary):not(.cta-secondary) {
  color: #F6B930;
  text-decoration: underline;
  border-radius: 5px;
  transition: background .13s, color .13s;
  padding: 1px 4px;
}
.content-wrapper a:not(.cta-primary):not(.cta-secondary):hover,
section a:not(.cta-primary):not(.cta-secondary):hover {
  background: #F6B930;
  color: #20405A;
  text-decoration: none;
}

/* List style */
ul, ol {
  margin-bottom: 16px;
  padding-left: 18px;
}
li {
  margin-bottom: 6px;
}

/* Spacing between all 'cards' */
.card-container > *, 
.service-list > *, 
.blog-post-grid > *, 
.content-grid > *, 
.testimonial-card + .testimonial-card, 
.feature-item + .feature-item {
  margin-bottom: 20px !important;
}

/* Checkbox styling for cookie modal */
.cookie-modal input[type='checkbox'] {
  accent-color: #F6B930;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-right: 6px;
}

/* Ensure min-tap targets on mobile for all buttons */
button, .cta-primary, .cta-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  min-width: 44px;
  min-height: 44px;
}

/* -------------- Animations -------------- */
@keyframes btn-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(.97); }
  55% { transform: scale(1.04); }
  70% { transform: scale(.99); }
  100% { transform: scale(1); }
}
.cta-primary:active, .cta-secondary:active, .cookie-btn:active {
  animation: btn-bounce .3s linear;
}

/* Slight fade slide for testimonials */
@keyframes testimonial-appear {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: none; }
}
.testimonial-card { animation: testimonial-appear .66s cubic-bezier(.47,1.64,.41,.8); }

/* -------------- Utility -------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.text-center { text-align: center !important; }

/* ---------------- END ---------------- */
