/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F3F7FB;
  color: #23436D;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1BA8E0;
  text-decoration: none;
  transition: color .20s;
}
a:hover,
a:focus {
  color: #FFC84B;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #E1E9F1;
  padding: 12px 10px;
  text-align: left;
}
th {
  background-color: #E7F5FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* BRAND COLORS for playful_dynamic */
:root {
  --primary: #23436D;
  --secondary: #61788A;
  --accent: #F3F7FB;
  --color-berlin-yellow: #FFC84B;
  --color-fun-turquoise: #1BA8E0;
  --color-fun-pink: #FF4EB2;
  --color-success: #67D37C;
}

/* TYPOGRAPHY playful + modern */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.17;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.375rem;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p, ul, ol, table, .testimonial-card, .content-wrapper>div, .feature-item {
  font-size: 1rem;
  color: var(--secondary);
}
strong {
  color: var(--primary);
}

/* LAYOUT CONTAINERS & SECTIONS (Mandatory spacing) */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 32px;
  box-shadow: 0 5px 24px 0 rgba(71,146,230,0.09), 0 1.5px 10px 0 rgba(255,76,178,0.03);
  transition: box-shadow .3s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX UTILITY CLASSES: no grid/columns; only flex */
.card-container, .feature_grid, .contact-details, .footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(27, 168, 224, 0.09);
  padding: 24px;
  transition: transform .22s cubic-bezier(.42, .11, .55, .89), box-shadow .22s;
  position: relative;
  min-width: 280px;
  flex: 1 1 300px;
}
.card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-2deg);
  box-shadow: 0 6px 32px 0 rgba(255, 76, 178, 0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(27, 168, 224,0.07);
  margin-bottom: 20px;
  font-size: 1.125rem;
  color: #24385C;
  position: relative;
  min-width: 250px;
  max-width: 700px;
}
.testimonial-card p {
  color: #24385C;
  margin: 0;
}
.testimonial-card span {
  display: block;
  margin-top: 8px;
  color: #61788A;
  font-size: .95rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* STRONG PLAYFUL DYNAMIC ELEMENTS: COLORS, BUTTONS, ANIMATIONS */
.cta-btn {
  background: linear-gradient(90deg, #1BA8E0 0%, #FFC84B 100%);
  color: #24385C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 14px 32px;
  margin-top: 9px;
  cursor: pointer;
  transition: box-shadow .18s, transform .18s, background .25s;
  box-shadow: 0 2px 8px 0 rgba(255,76,178,.12);
  letter-spacing: .5px;
  animation: cta-candy 1.1s ease-in-out infinite alternate;
  text-shadow: 0 1px 6px #fff6;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #FFC84B 0%, #FF4EB2 100%);
  color: #23436D;
  transform: translateY(-3px) scale(1.025) rotate(-1deg);
  box-shadow: 0 6px 28px 0 rgba(255,76,178,.16);
}
@keyframes cta-candy {
  0% { box-shadow: 0 2px 8px 0 rgba(27,168,224,0.10) }
  100% { box-shadow: 0 4px 22px 0 rgba(255,200,75,.21); }
}

/* NAVIGATION DESKTOP */
header {
  background: #fff !important;
  box-shadow: 0 3px 12px 0 rgba(27,168,224,0.06);
  top: 0;
  z-index: 1110;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23436D;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background .15s;
}
header nav a:hover,
header nav a:focus {
  background: #FFC84B;
  color: #23436D;
}
/* Hide mobile nav by default on desktop */
.mobile-menu,
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION */
@media (max-width: 991px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: #FFC84B;
    color: #23436D;
    border: none;
    font-size: 2rem;
    border-radius: 16px;
    padding: 7px 20px;
    margin-left: 10px;
    transition: box-shadow .15s, background .22s;
    cursor: pointer;
    z-index: 1101;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #FF4EB2;
    color: #fff;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-110vw);
    transition: transform .33s cubic-bezier(.58,.19,.25,.99);
    z-index: 2000;
    padding-top: 32px;
    box-shadow: 0 4px 40px rgba(27,168,224, .16);
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin: 0 24px 18px 0;
    padding: 12px;
    font-size: 1.8rem;
    background: #1BA8E0;
    color: #fff;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    z-index: 2100;
    transition: background .18s, transform .15s;
  }
  .mobile-menu-close:hover {
    background: #FF4EB2;
    transform: scale(1.08);
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 24px 40px;
    align-items: flex-start;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    color: #23436D;
    font-weight: 700;
    padding: 10px 0;
    border-radius: 12px;
    width: 100%;
    transition: background .13s, color .15s;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    background: #FFC84B;
    color: #FF4EB2;
  }
}

/* PLAYFUL FUN FONTS:
   HEADLINES: Montserrat, BUTTONS: Montserrat, BODY: Open Sans;
   Use italic + bold + larger size for fun factor
*/
.team-member h3 {
  font-weight: 900;
  color: #FF4EB2;
  font-style: italic;
  margin-bottom: 10px;
  text-shadow: 0 1px 5px #FFC84B33;
}

/* OTHER FLEX SECTION VARIANTS */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}
.contact-details > div {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F3F7FB;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 1rem;
}
.map-placeholder {
  background: #D4F0FF;
  border: 1.5px dashed #1BA8E0;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  margin-bottom: 14px;
}

/* TABLE STYLING playful */
table tr:nth-child(even) td {
  background: #F3F7FB;
}
table tr:nth-child(odd) td {
  background: #fff;
}
table th {
  color: #1BA8E0;
}

/* FEATURE GRID playful with icon */
.feature_grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature_grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 14px 20px;
  min-width: 230px;
  margin-bottom: 0;
  box-shadow: 0 2.5px 9px 0 rgba(255,200,75,0.11);
  font-size: 1.08rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

/* ANIMATION for icons (wiggle) */
.feature_grid img,
.team-member h3:before,
.footer-social a img {
  animation: playful-wiggle 1.9s infinite alternate linear;
}
@keyframes playful-wiggle {
  0%   { transform: rotate(-8deg) scale(.96); }
  60%  { transform: rotate(5deg) scale(1.03); }
  100% { transform: rotate(-6deg) scale(1.01); }
}

/* BUTTONS: playful and dynamic */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  padding: 12px 26px;
  border-radius: 18px;
  background: #FF4EB2;
  color: #fff;
  font-weight: 600;
  outline: none;
  transition: background .16s, transform .16s, box-shadow .13s;
}
button:hover, button:focus {
  background: #FFC84B;
  color: #23436D;
  transform: scale(1.05) rotate(-2.5deg);
  box-shadow: 0 4px 20px rgba(255,200,75,0.19);
}

/* FOOTER */
footer {
  background: #23436D;
  color: #fff;
  margin-top: 64px;
  padding-top: 30px;
  padding-bottom: 22px;
}
footer .container {
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #FFC84B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  transition: color .17s;
}
footer nav a:hover,
footer nav a:focus {
  color: #FF4EB2;
}
.footer-contact {
  font-size: 0.96rem;
  color: #cee5ff;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-contact img {
  width: 20px; margin-right: 7px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-social a img {
  width: 32px; filter: drop-shadow(0 1px 6px #1ba8e033);
  transition: filter .22s, transform .12s;
}
.footer-social a:hover img {
  filter: drop-shadow(0 3px 12px #ff4eb266) brightness(1.2);
  transform: scale(1.12) rotate(-7deg);
}

/* RESPONSIVE ADAPTATION */
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 28px 8px; margin-bottom: 38px; border-radius: 18px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 18px; }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  .feature_grid {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card {
    padding: 13px 7px;
    border-radius: 14px;
    min-width: 180px;
    max-width: 100%;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .card-container { flex-direction: column; gap: 14px; }
  footer .content-wrapper { flex-direction: column; gap: 20px; }
}

/* SPACING */
main section + section {
  margin-top: 8px;
}
.card + .card { margin-left: 0; }

/* COOKIE CONSENT BANNER & MODAL (Playful) */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 24px #1BA8E033;
  padding: 24px 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: cookie-slide-up .6s cubic-bezier(.21,.84,.38,1.21);
  border-radius: 22px 22px 0 0;
  font-size: 1.06rem;
}
@keyframes cookie-slide-up { from { transform: translateY(180px); opacity:0; } to {transform:translateY(0); opacity:1; } }
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}
.cookie-banner button {
  background: #FFC84B;
  color: #23436D;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 14px;
  border: none;
  transition: background .12s, color .15s;
  margin: 0;
}
.cookie-banner .cookie-reject {
  background: #ececec;
  color: #FF4EB2;
}
.cookie-banner button:hover {
  background: #FF4EB2;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #1BA8E0;
  color: #fff;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  padding: 38px 24px 24px 24px;
  border-radius: 24px;
  box-shadow: 0 10px 40px #1BA8E044;
  min-width: 340px;
  max-width: 90vw;
  z-index: 3500;
  animation: cookie-popin .3s cubic-bezier(.44,1.25,.44,1.01);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookie-popin { from { transform: translate(-50%,-50%) scale(.9); opacity:0; } to {transform: translate(-50%,-50%) scale(1); opacity:1;} }
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 13px;
  font-weight: 600;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #1BA8E0;
  width: 22px;
  height: 22px;
}
.cookie-category-essential {
  color: #61788A;
  font-size: .96rem;
  font-style: italic;
}
.cookie-modal button {
  width: 48%;
  padding: 13px 10px;
  font-size: 1.08rem;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  font-size: 1.5rem;
  color: #FF4EB2;
  border: none;
  cursor: pointer;
  z-index: 10002;
}
@media (max-width:600px) {
  .cookie-modal { min-width: 90vw; padding: 24px 8px 18px 8px; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.card, .testimonial-card, .feature_grid li, .team-member {
  transition: box-shadow .19s, transform .13s;
}
.card:hover,
.feature_grid li:hover,
.team-member:hover {
  box-shadow: 0 7px 25px #FF4EB255, 0 2px 12px #23436D13;
  transform: translateY(-4px) scale(1.02) rotate(-1.5deg);
}

/* ACCESSIBILITY (Focus states, Contrast) */
.cta-btn:focus, button:focus, a:focus {
  outline: 3px dashed #23436D;
  outline-offset: 2px;
}

.testimonial-card, .testimonial-card p {
  color: #24385C;
  background: #fff;
  border: 1.5px solid #E7F5FA;
  box-shadow: 0 3px 14px 0 rgba(27,168,224,0.07);
}

/* THANK YOU PAGE */
.thank-you-message {
  background: #D4F0FF;
  border-left: 6px solid #67D37C;
  color: #23436D;
  padding: 22px 19px;
  font-weight: bold;
  margin-bottom: 18px;
  border-radius: 12px 22px 22px 12px;
}

/* MISCELLANEOUS */
::-webkit-scrollbar {
  width: 10px;
  background: #F3F7FB;
}
::-webkit-scrollbar-thumb {
  background: #FFC84B;
  border-radius: 20px;
}

::selection {
  background: #FF4EB2;
  color: #fff;
}

/* SPECIAL OVERLAYS PREVENTION */
body > * {
  z-index: unset !important;
}

/* DECORATIVE ELEMENTS */
.card:after,
.section:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.card:after {
  top: 14px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 99px;
  background: rgba(255,200,75,0.11);
}
.section:before {
  bottom: -22px; left: -14px;
  width: 40px; height: 40px;
  background: rgba(255,76,178,0.09);
  border-radius: 50%;
  z-index: 0;
}
header .container a > img { height: 39px }
footer .content-wrapper > img { height: 52px; }

/* PRINT OVERRIDES */
@media print {
  header,footer,.cookie-banner,.cookie-modal { display:none !important; }
  .section { box-shadow:none !important; background: #fff; color: #000; }
}
