/* 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, 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;
}
html { scroll-behavior: smooth; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F1FAFF;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  color: #457B9D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1D3557;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin: 16px 0;
}

/* BRAND COLORS & TYPE */
:root {
  --primary: #1D3557;
  --secondary: #457B9D;
  --accent: #F1FAEE;
  --contrast: #ffffff;
  --text-main: #222;
  --bg-main: #F1FAFF;
  --highlight1: #F4D35E;
  --highlight2: #FF6F59;
  --highlight3: #43AA8B;
  --shadow-color: rgba(68,68,68,0.10);
  --shadow-strong: rgba(68,68,68,0.15);
}

/* GOOGLE FONTS Fallbacks */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
  /* Playful pop entrance */
  animation: popappearin 0.9s cubic-bezier(.68,-0.55,.27,1.55) 0s 1;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  line-height: 1.2;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: var(--text-main);
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}
em {
  color: var(--secondary);
  font-style: italic;
}

@keyframes popappearin {
  0% { transform: scale(0.88) rotate(-2deg); opacity:0; }
  70% { transform: scale(1.09) rotate(2deg); opacity:1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* CONTAINERS & FLEX LAYOUTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 30px;
  box-shadow: 0 6px 32px var(--shadow-strong);
  position: relative;
}

/* FLEX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 350px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px var(--shadow-color);
  padding: 28px 24px 20px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px) scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 28px var(--shadow-strong);
  z-index:2;
}
.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: 20px;
  box-shadow: 0 2px 10px var(--shadow-color);
  margin-bottom: 20px;
  border-left: 7px solid var(--highlight2);
  max-width: 410px;
  min-width: 230px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  color: #121214;
  font-size: 1.05rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
  margin-top: 4px;
}
.testimonial-card:hover {
  border-left: 7px solid var(--highlight1);
  box-shadow: 0 8px 24px var(--shadow-strong);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width:200px;
}
.text-section {
  margin-bottom: 20px;
}
.text-section img {
  vertical-align: middle;
  margin-right: 10px;
}

/* TABLE STYLES */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 9px var(--shadow-color);
  margin-bottom: 20px;
}
thead th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial Rounded MT Bold, Arial, sans-serif;
  font-size: 1rem;
  padding: 14px 10px;
  letter-spacing:0.8px;
}
tbody td {
  color: var(--text-main);
  padding: 12px 10px;
  font-size: 1rem;
  border-bottom: 1px solid var(--accent);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* BUTTONS */
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial Rounded MT Bold, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  background: var(--highlight1);
  color: var(--primary);
  border: none;
  border-radius: 30px;
  padding: 13px 36px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow-color);
  letter-spacing: 1px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.21s;
  text-shadow: none;
  position: relative;
  outline: none;
  text-decoration: none;
}
.cta-btn:hover, .btn:hover, .cta-btn:focus, .btn:focus {
  background: var(--highlight2);
  color: #fff;
  box-shadow: 0 5px 17px var(--shadow-strong);
  transform: translateY(-2px) scale(1.03) rotate(-1.5deg);
}
/* Fun wavy decoration for buttons */
.cta-btn::after {
  content: '';
  display: block;
  position: absolute;
  left: 20%;
  bottom: -8px;
  width: 55%;
  height: 8px;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="8" viewBox="0 0 120 8" xmlns="http://www.w3.org/2000/svg"><path d="M0 6c32-6 42 6 60 0s20 6 60 0" fill="none" stroke="%23FF6F59" stroke-width="2"/></svg>') no-repeat center/cover;
}

.btn {
  background: var(--highlight3);
  color: #fff;
}

/* HEADER */
header {
  background: var(--accent);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 17px var(--shadow-color);
  padding: 14px 0 0 0;
  margin-bottom: 28px;
  position: relative;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial Rounded MT Bold, Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 22px;
  transition: background 0.22s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--highlight1);
  color: var(--highlight2);
}
header img {
  height: 54px;
  width: auto;
  transition: transform .35s cubic-bezier(.24,1.45,.36,-0.36);
}
header img:hover {
  transform: rotate(-6deg) scale(1.09);
}

/* FOOTER */
footer {
  background: var(--accent);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  padding: 32px 0 18px 0;
  margin-top: 40px;
  box-shadow: 0 -3px 17px var(--shadow-color);
  font-size: 0.92rem;
  color: var(--primary);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 4px;
}
footer nav a {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.18s;
  padding: 4px 0;
}
footer nav a:hover, footer nav a:focus {
  color: var(--highlight2);
}
footer span {
  display: block;
  font-size: 0.97rem;
  margin-top: 6px;
  color: var(--primary);
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 60;
  font-size: 2.3rem;
  background: var(--highlight2);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px var(--shadow-strong);
  cursor: pointer;
  transition: background 0.2s, transform 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--highlight1);
  color: var(--secondary);
  transform: scale(1.1);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 310px;
  background: var(--primary);
  color: #fff;
  z-index: 2111;
  padding: 44px 0 0 0;
  transform: translateX(105%);
  transition: transform 0.37s cubic-bezier(.56,1.6,.67,.9);
  box-shadow: -8px 0 32px var(--shadow-color);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
  box-shadow: -12px 0 37px var(--shadow-strong);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 2.2rem;
  background: var(--highlight2);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
  z-index: 2122;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--highlight1);
  color: var(--secondary);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial Rounded MT Bold, Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  padding: 10px 0;
  letter-spacing: 1px;
  border-radius: 14px;
  min-width: 160px;
  transition: background 0.17s, color 0.17s, padding-left 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--highlight2);
  color: var(--accent);
  padding-left: 12px;
}

@media (max-width: 990px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 10px;
  }
  header nav {
    gap: 14px;
    margin-bottom: 7px;
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 6px;
  }
  .header .container {
    flex-direction: column;
  }
}
@media (max-width: 720px) {
  footer .container {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
  header nav, footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  h1 {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }
  .section {
    margin-bottom: 34px;
    padding: 16px 2px;
  }
  .card, .testimonial-card {
    min-width: 150px;
    padding: 14px 8px 12px 12px;
  }
}

/* Show/hide mobile menu/desktop nav */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* FLEX COLUMN ON MOBILE for text-image sections */
@media (max-width: 768px) {
  .text-image-section, .content-wrapper, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 20px !important;
    align-items: stretch !important;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* FLUID LAYOUTS & MIN SPACING ON MOBILE */
@media (max-width: 520px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .cta-btn, .btn {
    width: 100%;
    font-size: 1rem;
  }
  .mobile-menu {
    width: 100vw;
    min-width: unset;
  }
  .mobile-menu-close {
    right: 10px;
    top: 10px;
  }
  .mobile-nav {
    padding-left: 10vw;
  }
}

/* PLAYFUL DYNAMIC VISUALS + Card Effects */
.card, .testimonial-card {
  border-radius: 20px 28px 24px 20px;
  box-shadow: 0 3px 15px var(--shadow-color), 0 1.5px 0.5px var(--highlight2);
  background: #fff;
  overflow: visible;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card::before {
  content: '';
  position: absolute;
  top: -10px; left: 14px;
  width: 35px; height: 9px;
  background: var(--highlight1);
  border-radius: 12px;
  opacity: 0.4;
  z-index: 1;
  pointer-events: none;
  animation: sweepwave 1.3s infinite alternate ease-in-out;
}
@keyframes sweepwave {
  0% { transform: translateY(0px) rotate(-5deg); opacity: 0.25; }
  100% { transform: translateY(7px) rotate(3deg); opacity: 0.44; }
}

.card:hover::before {
  background: var(--highlight2);
  opacity: 0.9;
}

/* FUN LIST ICONS */
ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 34px;
}
ul li img {
  position: absolute;
  left: 0px;
  top: 2px;
  width: 22px;
  height: 22px;
}

/* Enhanced Animated Micro Interactions */
.card, .btn, .cta-btn, header nav a, .mobile-menu-toggle, .mobile-menu-close, .mobile-nav a {
  will-change: transform, box-shadow, background, color;
  transition-timing-function: cubic-bezier(.67,1.72,.66,.72) !important;
}

/* ICON CIRCLE (for about, contact, phone details) */
.text-section img {
  background: var(--highlight3);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 4px;
  object-fit: cover;
  margin-right: 8px;
  display: inline-block;
  box-shadow: 0 1px 4px var(--shadow-color);
}

/* FORM & INPUTS (for future forms) */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border: 2px solid var(--highlight3);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.21s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--highlight2);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 7000;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -3px 18px var(--shadow-strong);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  padding: 20px 40px 20px 24px;
  font-size: 0.98rem;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  animation: bannerin 0.65s cubic-bezier(.56,1.49,.67,1.19);
}
@keyframes bannerin {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial Rounded MT Bold, Arial, sans-serif;
  font-weight: 700;
  border-radius: 22px;
  padding: 8px 20px;
  border: none;
  background: var(--highlight3);
  color: #fff;
  font-size: 1.04rem;
  box-shadow: 0 1px 6px var(--shadow-color);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--highlight2);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--highlight1);
  color: var(--primary);
  border: none;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: var(--highlight2);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 10px 10px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(34,49,63,0.36);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 420px;
  box-shadow: 0 7px 37px var(--shadow-strong);
  padding: 34px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalin .45s cubic-bezier(.34,1.72,.42,1.1);
}
@keyframes modalin {
  0% {transform: scale(0.7) translateY(60px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin:10px 0;
}
.cookie-category label {
  font-weight: 600;
  margin-right: 7px;
}
.cookie-toggle {
  display: inline-block;
  width: 44px;
  height: 25px;
  border-radius: 18px;
  background: var(--highlight1);
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 44px;
  height: 25px;
  position: absolute;
  left: 0; top: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px var(--shadow-color);
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked ~ span {
  left: 21px;
  background: var(--highlight3);
}
.cookie-category.essential label {
  color: var(--primary);
  opacity: 0.9;
}
.cookie-category.essential .cookie-toggle {
  background: var(--accent);
  pointer-events: none;
  opacity: 0.55;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}

/* Micro-animations for playful feel */
.cta-btn, .btn, .mobile-menu-toggle, .mobile-menu-close, .card, .testimonial-card {
  transition-timing-function: cubic-bezier(.64,1.5,.75,1.1);
}

/* PAGE ANIMATION: Fade In Effect */
body {
  opacity: 0;
  animation: bodyappear 0.8s ease-in forwards;
}
@keyframes bodyappear {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

/* Accessibility & Consistent Spacing */
*:focus {
  outline: 2px dashed var(--highlight2);
  outline-offset: 3px;
}

/* VISUAL HIERARCHY */
.section > .container > h2 {
  margin-bottom: 14px;
}
.section {
  border: 2px solid var(--highlight3);
  box-shadow: 0 6px 32px var(--shadow-strong), 0 0.5px 0.3px var(--highlight3);
  position: relative;
}
.section::after {
  content: '';
  position: absolute;
  right: 44px;
  bottom: 24px;
  width: 64px;
  height: 17px;
  background: url('data:image/svg+xml;utf8,<svg width="100%" height="17" viewBox="0 0 64 17" xmlns="http://www.w3.org/2000/svg"><path d="M0 15c16-12 24 2 32 2s16-14 32-2" fill="none" stroke="%2343AA8B" stroke-width="3"/></svg>') no-repeat center/cover;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
}

/* Hide section dcoration on mobile */
@media (max-width: 560px) {
  .section::after { display: none; }
}

/* Blog tags */
li em, .blog-tag {
  background: var(--highlight1);
  color: var(--primary);
  border-radius: 12px;
  padding: 2px 9px;
  font-size: 0.89em;
  margin-left: 7px;
}

/* Miscellaneous */
::-webkit-scrollbar { width: 10px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius:5px; }
::selection { background: var(--highlight3); color: #fff; }

/* Print safety, code disables grid and columns (FLEX ONLY!) */
[class*="grid"], [class*="col"] {
  /* used for legacy support, do not use CSS grid/columns in this code! */
}

/* End of CSS */