/* ========================
   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,
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 {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #F3F3F4;
  color: #1C364B;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
img, svg {
  max-width: 100%;
  display: block;
}
button, input,
optgroup, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
a {
  color: #E2B800;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7931E;
  outline: none;
}

/* ========================
   VARIABLES: Fallbacks for brand color
   ======================== */
:root {
  --primary: #1C364B;
  --secondary: #E2B800;
  --accent: #F3F3F4;
  --brand-blue: #1C364B;
  --brand-yellow: #E2B800;
  --brand-light: #F3F3F4;
  --brand-orange: #F7931E;
}

/* =========================
   TYPOGRAPHY
   ========================= */
@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', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #1C364B;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #1C364B;
}
em {
  font-style: italic;
  color: #1C364B;
}

/* Fun, playful font for small accents */
.fun-accent {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  color: #E2B800;
  font-size: 1.2em;
  letter-spacing: 1px;
}

/* ========================
   GLOBAL CONTAINERS & LAYOUT
   ======================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 32px 0 rgba(220, 188, 67, 0.09), 0 1.5px 8px 0 rgba(28, 54, 75, 0.1);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.25s;
}

.section:hover { box-shadow: 0 12px 40px 0 rgba(220,188,67,.13), 0 3px 12px 0 rgba(28,54,75,.13); }

@media (max-width: 768px) {
  .section { padding: 24px 8px; }
}

/* Cards & Flex Layout Patterns */
.card-container, .feature-grid, .tips-grid, .story-list, .review-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 12px;
  margin-bottom: 8px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgba(220, 188, 67, 0.09);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .2s, transform .2s;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(220,188,67,.15);
  transform: translateY(-4px) 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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .card-container, .feature-grid, .tips-grid, .story-list, .review-list, .faq-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* =========================
      HEADER & NAVIGATION
   ========================= */
header {
  background: #1C364B;
  padding: 0;
  box-shadow: 0 4px 24px 0 rgba(44,40,71,.12);
  width: 100%;
  position: sticky;
  top: 0; z-index: 22;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  min-height: 80px;
}
header img {
  height: 52px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .5px;
  position: relative;
  padding: 8px 4px;
  transition: color .25s;
}
header nav a:hover, header nav a:focus {
  color: #E2B800;
  text-shadow: 0 1px #fff,0 2px #E2B800;
}
.cta-btn {
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 32px;
  background: #E2B800;
  color: #1C364B;
  border: none;
  box-shadow: 0 2px 8px rgba(28,54,75,.04);
  cursor: pointer;
  transition: background .18s, color .18s, transform .2s, box-shadow .2s;
  letter-spacing: 1px;
  margin-left: 20px;
  outline: none;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F7931E;
  color: #fff;
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 4px 18px rgba(28,54,75,.12);
}
@media (max-width: 1100px) {
  header nav {
    gap: 10px;
  }
  .cta-btn { margin-left: 12px; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; padding: 0 5px; }
  header nav { gap: 5px; }
}
@media (max-width: 768px) {
  header .container {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    padding: 0 6px;
  }
  nav { display: none; }
  .cta-btn { display: none; }
}

/* ===============
   MOBILE MENU
   =============== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  background: #E2B800;
  color: #1C364B;
  border: none;
  border-radius: 44px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  z-index: 42;
  box-shadow: 0 3px 18px rgba(28,54,75,.16);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #F7931E;
  color: #fff;
  outline: 2px solid #1C364B;
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #1C364B;
  color: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 50px;
  padding-left: 0;
  transform: translateX(-105%);
  transition: transform 0.33s cubic-bezier(.64,.23,.29,1.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px; right: 16px;
  background: #E2B800;
  color: #1C364B;
  border: none;
  border-radius: 44px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  z-index: 110;
  cursor: pointer;
  transition: background .18s, color .18s, transform .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7931E;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 32px 24px 32px;
  width: 100vw;
}
.mobile-nav a {
  color: #fff;
  background: none;
  padding: 14px 6px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  border-radius: 24px;
  transition: background .2s, color .18s;
  text-align: left;
  outline: none;
  min-width: 160px;
  box-sizing: border-box;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E2B800;
  background: #fff2c4;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =============
   FOOTER
   ============= */
footer {
  background: #1C364B;
  padding: 40px 0 28px 0;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
footer nav a {
  color: #E2B800;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.footer-brand img {
  width: 66px;
  max-height: 66px;
  margin-bottom: 8px;
}
.footer-contact {
  color: #fff;
  font-size: .95rem;
  line-height: 1.65;
}
.footer-contact img {
  vertical-align: middle;
  height: 1.1em;
  margin-right: 6px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: left;
  }
}

/* ====================
   PLAYFUL SECTIONS & VISUALS
   ==================== */
.feature-grid > div, .tips-grid > div, .story-teaser, .review-item, .faq-item, .testimonial-card, .tip-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 12px 0 rgba(220, 188, 67, 0.09);
  padding: 22px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  transition: box-shadow .17s, transform .13s;
}
.feature-grid > div:hover,.tips-grid > div:hover, .story-teaser:hover, .review-item:hover, .faq-item:hover, .testimonial-card:hover, .tip-card:hover {
  box-shadow: 0 8px 28px 0 rgba(220, 188, 67, 0.13);
  transform: scale(1.025) rotate(-1.5deg);
}
.feature-grid img, .tips-grid img, .testimonial-card img, .story-teaser img {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 1.5px rgba(226,184,0,0.08));
  transition: transform .22s;
}
.feature-grid > div:hover img,
.tips-grid > div:hover img { transform: rotate(-10deg) scale(1.08); }

/* Badged, fun, animated accent for playful look */
.feature-grid > div::after {
  content: '';
  display: block;
  width: 64px;
  height: 16px;
  background: #FFF5C7;
  border-radius: 30px;
  position: absolute;
  bottom: 16px; left: 18px;
  opacity: .55;
  z-index: 0;
  animation: playfulGlow 2.5s linear infinite alternate;
}
@keyframes playfulGlow {
  0% { opacity: .45; left:18px; }
  100% { opacity: .85; left:24px; }
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe9;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgba(28,54,75,.13);
  font-size: 1.08rem;
  color: #1C364B;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 370px;
  transition: box-shadow .2s, transform .13s;
}
.testimonial-card p {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1C364B;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #E2B800;
}
.testimonial-card:hover { 
  background: #fffbd4;
  box-shadow: 0 8px 32px 0 rgba(226,184,0,0.13);
  transform: scale(1.045) rotate(-2deg);
}

/* ===============
   FAQ
   =============== */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.faq-item {
  background: #fff;
  border-left: 8px solid #E2B800;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(28,54,75,.07);
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 280px;
}
.faq-item strong {
  font-size: 1.08rem;
  margin-bottom: 6px;
  display: block;
}

/* =========================
   LISTS & ACCENTS
   ========================= */
ul li, ol li {
  margin-bottom: 12px;
}
ul li strong, ol li strong {
  color: #E2B800;
}
ul li img, ol li img {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  vertical-align: middle;
}
ul li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

/* =========================
   BUTTONS
   ========================= */
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  border-radius: 28px;
  padding: 10px 28px;
  cursor: pointer;
  border: none;
  background: #E2B800;
  color: #1C364B;
  font-size: 1rem;
  margin: 0 8px 0 0;
  transition: background .19s, color .19s, box-shadow .19s, transform .17s;
  outline: none;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #F7931E;
  color: #fff;
  box-shadow: 0 2px 8px rgba(226,184,0,.20);
  transform: scale(1.065);
}


/* =====================
   PLAYFUL ANIMATIONS (micro-interactions)
   ===================== */
.cta-btn, .card, .feature-grid > div, .tips-grid > div, .story-teaser, .testimonial-card, .review-item, .faq-item, .tip-card {
  transition: box-shadow .23s, transform .18s, background .19s;
}
.cta-btn:active { transform: scale(.98); }

/* Bounce in animations for sections */
@keyframes bounceIn {
  0% { transform: translateY(44px) scale(0.97); opacity: 0; }
  70% { transform: translateY(-3px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}
.section {
  animation: bounceIn 0.8s ease-in 0s 1;
}

/* Fun hover accent underline */
header nav a::after, .mobile-nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 3.5px;
  background: #E2B800;
  margin-top: 3px;
  border-radius: 2px;
  transition: width 0.17s cubic-bezier(.67,.21,.38,.98);
}
header nav a:hover::after, header nav a:focus::after,
.mobile-nav a:hover::after, .mobile-nav a:focus::after {
  width: 80%;
}

/* =====================
   CONTENT-SPECIFIC CLASSES
   ===================== */
.contact-info-block {
  background: #fffcca;
  border-radius: 18px;
  box-shadow: 0 2px 9px 0 rgba(220,188,67,.09);
  padding: 14px 18px;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #1C364B;
  margin-bottom: 16px;
}
.contact-info-block img {
  width: 1.3em;
  vertical-align: middle;
  margin-right: 8px;
}
address {
  font-style: normal;
  padding: 18px 16px;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1.5px 8px 0 rgba(28,54,75,.07);
}

.review-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  box-shadow: 0 1px 8px 0 rgba(220,188,67,.07);
  gap: 8px;
}

.story-teaser {
  min-width: 230px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1.5px 8px 0 rgba(28,54,75,.07);
  margin-bottom: 20px;
}
.story-teaser > div {
  color: #E2B800;
  font-size: .96rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.story-teaser a {
  color: #F7931E;
  font-weight: 700;
  text-decoration: underline;
  padding-left: 4px;
}
.story-teaser a:hover, .story-teaser a:focus {
  color: #1C364B;
}

.tip-card {
  background: #fff;
  min-width: 215px;
  padding: 20px 14px;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px 0 rgba(28,54,75,.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tip-card img {
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .feature-grid > div, .tips-grid > div, .story-teaser, .review-item, .faq-item, .testimonial-card, .tip-card, .card {
    min-width: 140px;
    padding: 12px 6px;
  }
  .testimonial-card {
    max-width: 95vw;
  }
}

/* ====================
   COOKIE CONSENT BANNER
   ==================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffdfa;
  color: #1C364B;
  box-shadow: 0 -4px 21px 0 rgba(220,188,67,.13);
  padding: 20px 14px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9998;
  font-size: 1rem;
  animation: slideCookieBanner 0.7s cubic-bezier(.43,1.37,.51,.87);
}
@keyframes slideCookieBanner {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btns {
  margin-top: 14px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  background: #E2B800;
  color: #1C364B;
  transition: background .18s, color .14s, transform .17s;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #F7931E;
  color: #fff;
  transform: scale(1.065);
}
.cookie-consent-banner .cookie-settings {
  background: #fff;
  color: #1C364B;
  border: 2px solid #E2B800;
  margin-left: 8px;
  transition: background .14s, color .14s;
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: #E2B800;
  color: #fff;
}
@media (max-width: 520px) {
  .cookie-consent-banner { font-size: .95rem; padding: 16px 4px 6px 4px; }
  .cookie-consent-banner .cookie-btns { flex-direction: column; gap: 10px; }
}

/* ============
   COOKIE MODAL
   ============ */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(28,54,75, .57);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: 0 8px 75px 0 rgba(28,54,75, 0.12);
  padding: 34px 32px 26px 32px;
  min-width: 320px;
  max-width: 96vw;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: bounceIn .72s cubic-bezier(.47,1.32,.59,.87);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #1C364B;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #1C364B;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  accent-color: #E2B800;
  width: 22px;
  height: 22px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
@media (max-width: 460px) {
  .cookie-modal {
    padding: 14px 6px 6px 6px;
    min-width: 94vw;
    font-size: .99rem;
  }
}

/* ====================
   RESPONSIVE SUPPORT
   ==================== */
@media (max-width: 1200px) {
  body { font-size: 15px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
}
@media (max-width:500px) {
  .section {padding:12px 2px;}
}

/* ================
   SCROLLBAR STYLE
   ================ */
body::-webkit-scrollbar {
  width: 8px;
  background: #f7f7fa;
}
body::-webkit-scrollbar-thumb {
  background: #E2B800;
  border-radius: 8px;
}

/* ================
   UTILITY CLASSES
   ================ */
.mt-16 { margin-top: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.py-16 { padding-top: 16px !important; padding-bottom: 16px !important; }
.gap-20 { gap: 20px; }
.round-22 { border-radius: 22px !important; }

/* Hide visually but keep for screen readers */
.visually-hidden {
  clip:rect(0 0 0 0);
  border:0;
  height:1px;
  margin:-1px;
  overflow:hidden;
  padding:0;
  position:absolute;
  width:1px;
}
