/* ========================
   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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F6F7;
  color: #25364A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}
a {
  color: #248aff;
  text-decoration: none;
  transition: color 0.24s;
}
a:focus {
  outline: 2px dashed #25364A;
  outline-offset: 2px;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #25364A;
  margin-bottom: 16px;
}
h1 { font-size: 2.8rem; line-height: 1.1; }
h2 { font-size: 2.0rem; line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1rem;  line-height: 1.3; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1rem; }
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #25364A;
}
strong {
  font-weight: 700;
}

/* ========================
   BRAND/PALLETE - PLAYFUL DYNAMIC
======================== */
:root {
  --primary: #25364A; /* Deep blue */
  --secondary: #ADC8D9; /* Soft blue */
  --accent: #F7D047; /* Bright yellow - energetic! */
  --bg-light: #F5F6F7;
  --bg-section: #FFF7DF;
  --pink: #FB59C7;
  --aqua: #43e2d4;
  --bluebr: #248aff;
}

/* ========================
   LAYOUT & CONTAINER
======================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}
.section {
  background: var(--bg-section);
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 24px rgba(173,200,217,0.10);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
  .container { padding: 0 7px; }
}

/* ========================
   FLEXBOX SPACING & PATTERNS
======================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(67,226,212,0.08), 0 2px 6px rgba(253,209,71,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.23s, transform 0.23s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(251,89,199,0.12), 0 2px 9px rgba(36,138,255,0.10);
  transform: translateY(-4px) scale(1.03);
}
.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, .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px 50px 20px 50px;
  box-shadow: 0 4px 18px rgba(37,54,74,0.09);
  border-left: 6px solid var(--accent);
  position: relative;
  transition: box-shadow 0.19s, transform 0.19s;
  min-height: 80px;
}
.testimonial-card p {
  color: #25364A;
  font-size: 1.10rem;
  font-weight: 600;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  flex: 2;
}
.testimonial-card span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #479C64;
  font-weight: bold;
  font-size: 1rem;
}
@media (max-width:600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 20px 0 0 0;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 7px rgba(36,138,255,0.04);
  padding: 26px 20px;
  flex: 1 1 245px;
  min-width: 220px;
  transition: box-shadow 0.18s, transform 0.17s;
  border: 2.6px solid var(--secondary);
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px rgba(251,89,199,0.09);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.03) rotate(-1.5deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px var(--aqua));
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========================
   HEADER & NAVIGATION
======================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(36,138,255,0.05);
  padding: 0;
  z-index: 11;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 14px;
}
header img[alt*="logo"], header img[alt*="Logo"] {
  max-height: 44px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--primary);
  letter-spacing: 0.01em;
  transition: color 0.18s;
  padding: 6px 2px;
  position: relative;
  border-radius: 6px;
}
.main-nav a:not(.cta-nav):hover,
.main-nav a:not(.cta-nav):focus {
  color: var(--pink);
  background: rgba(251,89,199,0.11);
}
.main-nav .cta-nav {
  background: var(--accent);
  color: #222;
  padding: 8px 22px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1.08rem;
  transition: background 0.17s, color .18s, box-shadow 0.17s;
  box-shadow: 0 4px 10px var(--aqua, #43e2d4, .07);
  margin-left: 8px;
}
.main-nav .cta-nav:hover,
.main-nav .cta-nav:focus {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 9px var(--pink, #FB59C7, .09);
}

/* ========================
   MOBILE NAVIGATION (BURGER MENU)
======================== */
.mobile-menu-toggle {
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 8px 18px;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(251,89,199,0.04);
  transition: background 0.15s, color 0.15s, transform 0.18s;
  display: none;
  margin-left: 14px;
  line-height: 1;
}
.mobile-menu-toggle:focus {
  background: var(--aqua);
  color: #222;
  outline: 2px dashed var(--pink);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 48px rgba(37,54,74,0.28);
  z-index: 199;
  transform: translateX(-105vw);
  transition: transform 0.36s cubic-bezier(.72,.01,.15,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  margin: 22px 20px 10px 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--pink);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 19px;
  padding: 40px 28px 0 28px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 10px;
  transition: background 0.15s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--pink);
}
.main-nav, .mobile-menu {
  transition: all 0.23s;
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    z-index: 111;
  }
}
@media (min-width: 961px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =========================
   CTA BUTTONS & LINKS
========================= */
.cta-btn, .cta-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  border-radius: 24px;
  background: var(--accent);
  color: #222;
  padding: 12px 38px;
  margin: 16px 0 0 0;
  box-shadow: 0 4px 18px rgba(43,226,212,0.09);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.1s;
  text-decoration: none;
}
.cta-btn:hover,
.cta-btn:focus,
.cta-link:hover,
.cta-link:focus {
  background: var(--pink);
  color: #fff;
  transform: scale(1.04) rotate(-1.2deg);
  box-shadow: 0 7px 26px rgba(36,138,255,0.08);
}

.cta-link {
  padding: 5px 16px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
}
.cta-link:hover, .cta-link:focus {
  background: var(--accent);
  color: #222;
}

/* =========================
   LIST STYLES & SPACING
========================= */
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  position: relative;
  padding-left: 22px;
  color: #25364A;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul li::before {
  content: '\2022';
  color: var(--pink);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.5em;
  top: -2px;
}
ol li::before {
  content: counter(li) ". ";
  color: var(--aqua);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1em;
}
ol {
  counter-reset: li;
}
ol li {
  counter-increment: li;
  padding-left: 30px !important;
}

/* =========================
   CARD & BLOG ENTRY
========================= */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  flex-wrap: wrap;
}
.category-filters a {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 22px;
  padding: 4px 18px;
  margin-right: 4px;
  transition: background 0.15s, color 0.15s;
}
.category-filters a:hover, .category-filters a:focus {
  background: var(--accent);
  color: #222;
}

/* ========================
   FOOTER STYLES
======================== */
footer {
  background: #25364A;
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 60px;
}
footer .container {
  padding: 0 22px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
}
.footer-nav, .footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-menu a {
  color: var(--secondary);
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-menu a:hover,
.footer-nav a:focus,
.footer-menu a:focus {
  color: var(--accent);
}
.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #fff;
  opacity: .92;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  background: var(--accent);
  border-radius: 50%;
  padding: 7px;
  display: flex;
  align-items: center;
  transition: background .14s;
}
.footer-social a:hover,
.footer-social a:focus {
  background: var(--pink);
}
footer img[alt*="icon"] {
  width: 28px;
  height: 28px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    padding: 27px 0;
  }
}

/* ===========================
   CONTACT INFO AND DETAIL SECTIONS
=========================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 24px 0 0 0;
  font-size: 1rem;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  font-size: 1rem;
}
.contact-info img {
  width: 24px;
  height: 24px;
}

/* ========================
   FORMS, INPUTS
======================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  border: 2px solid var(--secondary);
  padding: 12px 15px;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.14s, box-shadow 0.14s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px var(--accent, #F7D047, .23);
}


/* ========================
   ANIMATIONS & MICRO-INTERACTIONS
======================== */
@keyframes float-up {
  0% { transform: translateY(18px); opacity: 0; }
  70% { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(0); }
}
.section, .card, .testimonial-card, .feature-grid > div {
  animation: float-up 0.88s cubic-bezier(.72,.02,.21,.9) both;
  animation-delay: 0.11s;
}
.cta-btn, .cta-link {
  animation: float-up 0.64s cubic-bezier(.72,.03,.11,.99) both;
  animation-delay: 0.16s;
}
.category-filters, .footer-social a {
  transition: transform .13s;
}
.footer-social a:hover {
  transform: scale(1.10) rotate(-8deg);
}

/* ========================
   COOKIE CONSENT BANNER
======================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff7df;
  color: #25364A;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -1px 22px 0 rgba(173,200,217,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 350;
  padding: 24px 20px;
  font-size: 1rem;
  animation: float-up 0.8s;
}
.cookie-banner p {
  flex: 2;
  margin: 0 0 8px 0;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  background: var(--accent);
  color: #25364A;
  border-radius: 22px;
  padding: 9px 22px;
  border: none;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.13s, box-shadow 0.13s, transform 0.1s;
  box-shadow: 0 2px 7px rgba(67,226,212,0.07);
}
.cookie-btn.accept {
  background: var(--accent);
  color: #222;
}
.cookie-btn.reject {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--pink);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--aqua);
  color: #222;
  transform: scale(1.06) rotate(-2deg);
}
@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.97rem;
    padding: 16px 8px;
  }
  .cookie-actions { justify-content: flex-start; }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 360;
  transform: translate(-50%, -50%) scale(0);
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 10px 44px rgba(37,54,74,0.14);
  width: 98vw;
  max-width: 420px;
  padding: 38px 28px 30px 28px;
  transition: transform 0.32s cubic-bezier(.72,.02,.11,1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  animation: float-up 0.5s;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 7px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
}
.cookie-modal .cookie-cat label {
  font-size: 1rem;
  color: #25364A;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal .cookie-cat input[type='checkbox'] {
  accent-color: var(--aqua);
  width: 22px;
  height: 22px;
}
.cookie-modal .desc {
  color: #5d7a99;
  margin-bottom: 4px;
  font-size: 0.96rem;
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  right: 14px;
  top: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0;
  height: 32px;
}
.cookie-modal .cookie-close-btn:hover,
.cookie-modal .cookie-close-btn:focus {
  color: var(--pink);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}

@media (max-width:450px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 16px 7px 9px 7px;
    border-radius: 19px;
  }
}

/* ========================
   RESPONSIVE MEDIA QUERIES
======================== */
@media (max-width: 1200px) {
  .feature-grid > div {
    flex: 1 1 210px;
    min-width: 180px;
    padding: 16px 12px;
  }
}
@media (max-width: 600px) {
  .container {padding:0 2px;}
  .feature-grid { gap: 18px; }
  .content-wrapper { padding: 0; }
}

/* =======================
   PLAYFUL DECORATIVE EFFECTS
======================= */
.feature-grid > div:hover::after {
  content: '✧';
  position: absolute;
  top: 9px; right: 10px;
  font-size: 1.7rem;
  color: var(--pink);
  opacity: .22;
  pointer-events: none;
  animation: float-up 1.2s;
}

.section {
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  top: -13px; right: -17px;
  width: 70px; height: 70px;
  background: var(--aqua);
  border-radius: 50% 35% 62% 48%/44% 53% 26% 60%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 8px 28px 0 var(--secondary, #ADC8D9, .17);
  animation: float-up 1s infinite alternate;
}
@media (max-width:720px) {
  .section::before { display: none; }
}

/* =======================
   HELPER CLASSES
======================= */
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.w-100 { width: 100%; }
.maxw-600 { max-width: 600px; }
.ta-center { text-align: center; }
.d-flex { display: flex !important; }
.align-center { align-items: center; }

/* ========================
   ACCESSIBILITY & SELECTION
======================== */
::selection {
  background: var(--pink);
  color: #fff;
}
::-webkit-input-placeholder {
  color: #b7bed2;
}
::-moz-placeholder {
  color: #b7bed2;
}
:-ms-input-placeholder {
  color: #b7bed2;
}
::placeholder {
  color: #b7bed2;
}
