/* 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, 
main, 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;
}
footer p {
  color: white;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #244B5A;
  background: #F3F7F1;
  font-size: 16px;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #244B5A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #FFD166;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800|Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.13;
  color: #244B5A;
  margin-bottom: 24px;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 18px;
  color: #244B5A;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #244B5A;
}
h4, h5, h6 {
  color: #244B5A;
}
p, li {
  font-size: 1rem;
  color: #244B5A;
}
strong {
  color: #244B5A;
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(36, 75, 90, 0.08), 0 1.5px 5px 0 rgba(36, 75, 90, 0.06);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 26px 0 rgba(36, 75, 90, 0.12), 0 2.5px 9px 0 rgba(36, 75, 90, 0.09);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(36, 75, 90, 0.12);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(36, 75, 90, 0.16);
  transform: scale(1.03) rotate(-2deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(36, 75, 90, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 18px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 250px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.feature img {
  height: 48px;
  width: 48px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 5px #FFD16644);
  transition: transform 0.15s;
}
.feature:hover img {
  transform: scale(1.12) rotate(-6deg);
}
.feature:hover {
  background: #FFD16622;
  box-shadow: 0 13px 32px 0 rgba(255,209,102,0.10), 0 4px 16px 0 rgba(36, 75, 90, 0.11);
  transform: scale(1.04) rotate(2deg);
  z-index: 2;
}

/* PRIMARY CTA BUTTON */
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFD166;
  color: #244B5A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  border-radius: 48px;
  padding: 14px 36px;
  margin-top: 14px;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.13s, box-shadow 0.22s;
  box-shadow: 0 2px 8px 0 #FFD16633;
  cursor: pointer;
  border: none;
  outline: none;
  text-shadow: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #244B5A;
  color: #FFD166;
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 7px 22px 0 #244B5A22;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(36, 75, 90, 0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.desktop-menu {
  display: flex;
  gap: 18px;
  align-items: center;
}
.desktop-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #244B5A;
  opacity: 0.92;
  transition: color 0.2s, background 0.2s, border-radius 0.2s;
  padding: 6px 18px;
  border-radius: 24px;
}
.desktop-menu a:hover, .desktop-menu a:focus {
  background: #FFD16666;
  color: #244B5A;
}

/* Hide mobile menu toggle by default */
.mobile-menu-toggle {
  display: none;
}

/* Mobile navigation overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #244B5A;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(.82,-0.16,.25,1.17), opacity 0.19s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.8rem;
  color: #FFD166;
  background: none;
  border: none;
  margin-right: 24px;
  margin-top: 24px;
  cursor: pointer;
  transition: color 0.17s, transform 0.13s;
}
.mobile-menu-close:hover {
  color: #FFF;
  transform: rotate(6deg) scale(1.18);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 54px;
  padding: 0 36px;
  width: 100%;
}
.mobile-nav a {
  color: #FFD166;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 0;
  width: 100%;
  border-radius: 18px;
  transition: background 0.22s, color 0.16s;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD16622;
  color: #fff;
}

/* Responsive navigation display */
@media (max-width: 900px) {
  .desktop-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2.4rem;
    color: #244B5A;
    cursor: pointer;
    z-index: 10001;
    margin-right: 18px;
    transition: color 0.18s, transform 0.14s;
  }
  .primary-cta {
    display: none;
  }
}
@media (max-width: 500px) {
  .mobile-nav {
    padding: 0 18px;
  }
}

/* SECTION/GENERAL SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 12px;
  }
}

/* HOMEPAGE TESTIMONIAL SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card .rating {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: #FFD166;
  margin-top: 6px;
  user-select: none;
}
.testimonial-card p {
  color: #244B5A;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: #244B5A;
  font-size: 1rem;
}

/* TESTIMONIAL QUOTE ON SERVICES PAGE */
.testimonial-quote {
  background: #fffbe7;
  color: #244B5A;
  border-left: 6px solid #FFD166;
  padding: 20px 24px;
  margin-top: 24px;
  border-radius: 18px;
  font-style: italic;
  box-shadow: 0 1px 4px 0 #FFD16633;
}

/* SERVICE CARDS (SERVICES PAGE) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 34px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(36, 75, 90, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 265px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.20s;
}
.service-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  filter: drop-shadow(0 3px 5px #FFD16655);
  transition: transform 0.15s;
}
.service-card:hover {
  background: #FFD16618;
  box-shadow: 0 13px 32px 0 #FFD16619;
  transform: scale(1.04) rotate(-3deg);
  z-index: 2;
}
.service-card:hover img {
  transform: scale(1.13) rotate(10deg);
}
.service-card h3 {
  font-size: 1.18rem;
  text-align: center;
}
.service-card p {
  font-size: 0.98rem;
  text-align: center;
  margin-bottom: 8px;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 800;
  color: #244B5A;
  background: #FFD166;
  border-radius: 14px;
  padding: 6px 14px;
  margin-top: 4px;
  box-shadow: 0 1px 4px 0 #FFD16633;
  display: inline-block;
}

@media (max-width: 970px) {
  .service-cards, .feature-grid {
    gap: 16px;
  }
  .service-card, .feature {
    min-width: 144px;
    max-width: 100%;
    flex: 1 1 155px;
    padding: 22px 9px;
  }
}

@media (max-width: 600px) {
  .service-cards, .feature-grid, .testimonial-slider {
    flex-direction: column;
    gap: 13px;
  }
  .service-card, .feature, .testimonial-card {
    min-width: 80vw;
    max-width: 100vw;
    width: 100%;
    margin-bottom: 16px;
  }
}

/* GUIDES QUICK LINKS */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}
.quick-links a {
  background: #244B5A;
  color: #FFD166;
  border-radius: 36px;
  padding: 9px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.15s;
  font-size: 1rem;
}
.quick-links a:hover, .quick-links a:focus {
  background: #FFD166;
  color: #244B5A;
  outline: none;
}

/* FAQ PAGE */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 38px;
}
.faq-item {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 10px 0 #FFD16615;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.14s;
  position: relative;
}
.faq-item:hover {
  box-shadow: 0 7px 23px 0 #FFD16622, 0 2.5px 11px 0 #244B5A18;
  transform: scale(1.03) rotate(-1deg);
}
.faq-item h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #244B5A;
  margin-bottom: 7px;
}
.faq-item p {
  font-size: 1rem;
}
.contact-prompt {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #244B5A;
}
.contact-prompt a {
  color: #FFD166;
  font-weight: 700;
  transition: color 0.18s;
}
.contact-prompt a:hover {
  color: #244B5A;
}

/* MAP EMBED (CONTACT) */
.map-embed {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #244B5A11;
  border-radius: 12px;
  padding: 16px 28px;
  margin: 14px 0;
}
.map-embed img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 5px #FFD16644);
}
.map-embed span {
  font-size: 1.08rem;
  color: #244B5A;
  font-family: 'Roboto', Arial, sans-serif;
}

/* FOOTER */
footer {
  background: #244B5A;
  color: #fff;
  padding: 44px 0 16px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFD166;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.86;
  transition: color 0.17s, text-decoration 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFD166;
  font-size: 0.97rem;
  font-weight: 500;
}
@media (max-width: 850px) {
  .footer-nav {
    gap: 12px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 15px;
  right: 15px;
  bottom: 18px;
  background: #244B5A;
  color: #FFD166;
  padding: 22px 18px;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 #244B5A33, 0 1px 4px 0 #FFD16633;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  pointer-events: auto;
  animation: cookie-slide-in 0.38s cubic-bezier(.56,.38,.35,1.37);
}
@keyframes cookie-slide-in {
  from { transform: translateY(60px) scale(0.92); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-consent-banner p {
  color: #FFD166;
  font-size: 1.09rem;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 34px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.14s, transform 0.12s;
  background: #FFD166;
  color: #244B5A;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #244B5A;
  transform: scale(1.06) rotate(-2deg);
}
.cookie-btn.secondary {
  background: #fff;
  color: #244B5A;
  border: 2px solid #FFD166;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FFD166;
  color: #244B5A;
  border: 2px solid #FFD166;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 100000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,75,90,0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fade 0.32s ease;
}
@keyframes cookie-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #244B5A;
  border-radius: 25px;
  max-width: 420px;
  width: 95vw;
  padding: 36px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 34px 0 #244B5A40, 0 3px 12px 0 #FFD16622;
  animation: cookie-modal-enter 0.36s cubic-bezier(.44,-0.18,.62,1.36);
}
@keyframes cookie-modal-enter {
  from { transform: translateY(72px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #244B5A;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: #244B5A;
}
.cookie-category input[type="checkbox"]:disabled + label {
  color: #9ebcbe;
  opacity: 0.72;
}
.cookie-toggle {
  appearance: none;
  border-radius: 36px;
  width: 34px;
  height: 19px;
  background: #FFD16644;
  outline: none;
  border: 2px solid #FFD16699;
  position: relative;
  transition: background 0.18s, border-color 0.13s;
}
.cookie-toggle:checked {
  background: #FFD166;
  border-color: #FFD166;
}
.cookie-toggle:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 #FFD16633;
  transition: transform 0.19s, background 0.17s;
}
.cookie-toggle:checked:after {
  transform: translateX(15px);
  background: #FFFFFE;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cookie-modal-actions .cookie-btn {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #FFD166;
  cursor: pointer;
  transition: color 0.15s, transform 0.14s;
}
.cookie-modal-close:hover {
  color: #244B5A;
  transform: scale(1.13) rotate(-45deg);
}

/* Animation helpers */
@media (max-width: 580px) {
  .cookie-modal {
    padding: 22px 7px 18px 7px;
    max-width: 96vw;
  }
  .cookie-modal-close {
    top: 10px; right: 12px;
  }
  .cookie-consent-banner {
    padding: 16px 7px;
  }
}

/* ANIMATIONS / MICRO-INTERACTIONS */
.feature:hover, .service-card:hover, .testimonial-card:hover, .faq-item:hover {
  animation: playful-bounce 0.24s cubic-bezier(.51,-0.02,.96,1.69);
}
@keyframes playful-bounce {
  0% { transform: scale(1) rotate(0deg); }
  60% { transform: scale(1.07) rotate(-2.5deg); }
  90% { transform: scale(0.99) rotate(2.5deg); }
  100% { transform: scale(1.03) rotate(-2deg); }
}

.primary-cta, .cookie-btn, .quick-links a {
  animation: cta-pulse 1.7s cubic-bezier(.51,-0.02,.96,1.69) infinite alternate;
}
@keyframes cta-pulse {
  from { filter: brightness(1); }
  to   { filter: brightness(1.07) drop-shadow(0 0 3px #FFD16688); }
}

/* PLAYFUL DYNAMIC COLOR SPLASHES (DECORATIVE) */
@media (min-width: 900px) {
  section .container:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    top: -36px;
    right: -62px;
    width: 110px;
    height: 55px;
    background: #FFD16644;
    border-radius: 900px 160px 160px 900px;
    opacity: 0.25;
    filter: blur(2.5px);
    pointer-events: none;
  }
}

/* RESPONSIVE - FLEXBOX RULES */
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .content-grid,
  .testimonial-slider,
  .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .card, .testimonial-card, .service-card {
    min-width: 90vw;
    max-width: 100vw;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .feature, .card, .testimonial-card, .service-card {
    padding: 19px 10px;
    margin-bottom: 14px;
  }
  .section {
    margin-bottom: 30px;
    padding: 24px 4px;
  }
}

/* MISC */
blockquote {
  margin: 18px 0;
  padding: 14px 26px;
  border-left: 6px solid #FFD166;
  background: #FFD16610;
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  margin: 24px 0;
}
th, td {
  padding: 8px 14px;
  border: 1px solid #244B5A11;
}

/* Scrollbar styling for playful UI */
::-webkit-scrollbar {
  width: 12px;
  background: #244B5A10;
}
::-webkit-scrollbar-thumb {
  background: #FFD166;
  border-radius: 6px;
  border: 2px solid #FFF;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mb-4 { margin-bottom: 24px; }

/* END CSS */
