/* 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;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #E2EEF8;
  color: #18405D;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  line-height: 1.54;
  background: #E2EEF8;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* TYPOGRAPHY - playful, bold */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #18405D;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.1;
  animation: bounceIn 1s cubic-bezier(.57,1.37,.43,.99);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: 0.015em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #18405D;
}
strong {
  font-weight: 700;
  color: #2381A0;
}

ul, ol {
  margin-left: 1.15em;
  margin-bottom: 1em;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  font-size: 1rem;
  line-height: 1.54;
}
ul li img, ol li img {
  width: 24px; height: 24px; vertical-align: middle; margin-right: 10px;
}

/* Playful accent for bullet */
ul.feature-grid > li:before, ul > li:before {
  content: '';
  display: inline-block;
  width: 10px; height: 10px;
  background: #2BB1D1;
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px 0 rgba(40,140,200,0.24);
}
ul.feature-grid > li img {margin-right: 8px;}
ul.feature-grid > li:before { background: #2381A0; }

/* LINKS */
a {
  color: #2BB1D1;
  text-decoration: none;
  transition: color .2s cubic-bezier(.5,1,0.89,1);
}
a:hover, .main-nav a:focus, .footer-nav a:focus {
  color: #18405D;
  text-decoration: underline;
}

/* LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px 0 rgba(40,110,255,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 22px;
  transition: box-shadow .22s cubic-bezier(.22,1,.36,1), transform .18s cubic-bezier(.55,1.33,.19,1);
}
.card:hover {
  box-shadow: 0 8px 26px 0 rgba(40,160,220,.20), 0 1.5px 12px 0 rgba(50,102,199,0.11);
  transform: translateY(-4px) scale(1.025) rotate(-1deg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.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 3.5px 18px 0 rgba(40,140,200,0.14);
  margin-bottom: 22px;
  position: relative;
  transition: box-shadow .22s cubic-bezier(.22,1,.36,1), transform .18s cubic-bezier(.55,1.33,.19,1);
  min-width: 220px;
  max-width: 100%;
}
.testimonial-card blockquote {
  color: #18405D;
  font-size: 1rem;
  line-height: 1.56;
  position: relative;
  font-style: italic;
  padding-left: 27px;
}
.testimonial-card blockquote strong {
  display: block; font-size: 1rem; color: #2381A0; margin-top: 10px; font-style: normal;
}
.testimonial-card:before {
  content: '“';
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  color: #2BB1D1;
  position: absolute;
  left: 10px;
  top: 8px;
  pointer-events: none;
  opacity: 0.18;
}
.testimonial-card:hover {box-shadow: 0 8px 20px 0 rgba(40,160,220,0.19),0 1.5px 12px 0 rgba(50,102,199,0.14); transform: translateY(-3px) scale(1.02);}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* HERO & CTA FINAL */
.hero {
  background: #2BB1D1;
  color: #fff;
  border-radius: 0 0 50px 50px;
  box-shadow: 0 12px 50px 0 rgba(43,177,209,0.08);
  margin-bottom: 40px;
  padding: 56px 0 60px 0;
  position: relative;
  animation: heroBgPulse 3.5s infinite alternate;
  overflow: hidden;
}
.hero .content-wrapper {align-items: center;}
.hero h1, .hero h2, .hero p {color: #fff; text-align: center;}
.cta-final {
  padding: 40px 0 20px 0;
  text-align: center;
  background: #fff;
  border-radius: 50px 50px 0 0;
  box-shadow: 0 -6px 30px 0 rgba(60,140,255,0.03);
}
.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.cta-final .cta {margin-top: 12px;}

@keyframes heroBgPulse {
  0% {background-color: #2BB1D1;}
  70% {background-color: #2381A0;}
  100% {background-color: #2BB1D1;}
}


/* BUTTONS */
.cta, .main-nav a.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  background: #2BB1D1;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 5px 22px 0 rgba(43,177,209,0.13);
  transition: background .2s cubic-bezier(.4,1.7,.6,1), transform .15s cubic-bezier(.77,2,.43,.87), color .16s;
}
.cta.secondary {
  background: #fff;
  color: #2BB1D1;
  border: 2.5px solid #2BB1D1;
  box-shadow: 0 2px 9px 0 rgba(40,170,230,0.06);
}
.cta.primary:hover, .cta.secondary:hover {
  background: #18405D;
  color: #fff;
  transform: translateY(-3px) scale(1.04) rotate(-1.5deg);
}
.cta.secondary:hover {
  background: #2BB1D1;
  color: #fff;
  border-color: #18405D;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2.5px 24px 0 rgba(40,140,200,.08);
  position: sticky;
  top: 0; z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 24px;
}
.logo {
  display: flex;
  align-items: center;
  height: 54px;
}
.logo img {
  max-height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 30px;
  margin: 0 10px;
  align-items: center;
}
.main-nav a {
  color: #18405D;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  position: relative;
  padding: 4px 0;
  transition: color .17s, border-color .13s;
}
.main-nav a:hover, .main-nav a.active {
  color: #2BB1D1;
}
header .cta.primary {
  margin-left: 26px;
  font-size: 1.04rem;
  padding: 9px 22px;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #2BB1D1;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background .18s, box-shadow .17s;
  box-shadow: 0 3.5px 18px 0 rgba(43,177,209,0.14);
  cursor: pointer;
  z-index: 1102;
}
.mobile-menu-toggle:hover {background: #18405D; color: #fff;}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 7px 38px 0 rgba(30,110,150,0.17);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.85,-0.13,.27,1.15);
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  border: none;
  font-size: 2.2rem;
  margin: 26px 22px 0 0;
  background: transparent;
  color: #2BB1D1;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1301;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
  width: 100%;
  padding: 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #18405D;
  padding: 17px 0;
  border-bottom: 1px solid #E2EEF8;
  transition: color .15s, background .12s;
  border-radius: 10px;
  text-align: left;
  outline: none;
}
.mobile-nav a:last-child {border-bottom: none;}
.mobile-nav a:hover, .mobile-nav a:focus {background: #E2EEF8; color: #2BB1D1;}

/* RESPONSIVE NAV */
@media (max-width: 1030px) {
  .main-nav {gap: 18px;}
  header .container {padding: 0 8px;}
}
@media (max-width: 900px) {
  .main-nav, header .cta.primary {display: none;}
  .mobile-menu-toggle {display: flex;}
}
@media (max-width: 768px) {
  .container {padding: 0 8px;}
  .main-nav {display: none;}
  .logo img {max-height: 36px;}
  .hero, .cta-final {border-radius: 0;}
}

/* FLEXIBLE SECTIONS/GRIDS RESPONSIVENESS */
@media (max-width: 940px) {
  .content-grid, .card-container, .features {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container { flex-direction: column; gap: 20px; }
  .hero { padding: 38px 0 48px 0; }
  .cta-final { padding: 18px 0 14px 0; }
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 18px 14px; }
}

/* TEXT & IMAGE SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* FOOTER */
footer {
  background: #18405D;
  color: #fff;
  padding-top: 28px;
  padding-bottom: 0;
  font-size: 1rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1.7px solid #2BB1D1;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .18s;
  font-size: 1.03rem;
}
.footer-nav a:hover, .footer-nav a:focus {color: #2BB1D1;}
.footer-contact p {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 4px;
}
.footer-bottom {
  text-align: center;
  padding: 18px 0 10px 0;
  color: #E2EEF8;
  font-size: 0.97rem;
}
footer .logo {height: 33px; margin-bottom: 8px;}
footer .logo img {max-height: 30px;}
@media (max-width: 900px) {
  .footer-top {flex-direction: column; gap: 14px; align-items: flex-start;}
}
@media (max-width: 480px) {
  .footer-top {padding-bottom: 6px;}
}

/* CARD & FEATURES SHADOWS, HIERARCHY & MICRO-ANIMATIONS*/
.card, .feature-item, .testimonial-card {
  box-shadow: 0 5px 22px 0 rgba(40,160,220,0.09);
  border-radius: 17px;
  background: #fff;
  transition: box-shadow .18s, transform .14s;
}
.card:after, .feature-item:after {
  content: '';
  display: block;
  background: #2BB1D1;
  height: 4px;
  width: 50px;
  margin-top: 18px;
  border-radius: 4px;
  opacity: 0.20;
  animation: underlineWobble 2.2s infinite alternate cubic-bezier(0.77,1,0.77,1.21);
}
@keyframes underlineWobble {
  0% {transform: scaleX(1) skewX(-2deg);}
  70% {transform: scaleX(1.2) skewX(1.8deg);}
  100% {transform: scaleX(1) skewX(-2deg);}
}

/* PLAKATY, BLOG POSTS, NEWSLETTER MODULES */
.posts ul, .newsletter, .about-short {
  margin-bottom: 28px;
}
.posts ul li {background: #fff; border-radius: 14px; box-shadow: 0 3.5px 18px 0 rgba(43,177,209,0.07); padding: 15px 18px; margin-bottom: 13px;}
.newsletter, .about-short, .cta-final, .thank-you {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 12px 0 rgba(43,177,209,0.07);
  margin-bottom: 30px;
  text-align: center;
  padding: 24px 12px;
}
.newsletter .cta, .about-short .cta { margin-top: 16px; }

/* THANK YOU PAGE STYLING */
.thank-you .text-section {margin-top: 10px;}
.thank-you a.cta {margin-top: 18px;}

/* SPECIAL: COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #2BB1D1;
  box-shadow: 0 -7px 27px 0 rgba(43,177,209,0.18);
  padding: 18px 24px 18px 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieBounceIn .7s cubic-bezier(.67,1.49,0.37,1.01);
}
@keyframes cookieBounceIn {0%{transform: translateY(90%);}100%{transform: translateY(0);}}
.cookie-banner p {
  color: #18405D;
  text-align: center;
  font-weight: 500;
  font-size: 1.02rem;
}
.cookie-banner .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.cookie-btn, .cookie-banner .buttons button {
  border: none;
  outline: none;
  background: #2BB1D1;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 23px;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 2.5px 7px 0 rgba(43,177,209,0.10);
  margin-right: 0;
  transition: background .18s, color .14s, transform .13s;
  margin-bottom: 4px;
}
.cookie-btn.secondary {
  background: #fff;
  border: 2px solid #2BB1D1;
  color: #2BB1D1;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #18405D;
  color: #fff;
  transform: scale(1.05) rotate(-1deg);
}
.cookie-btn.secondary:hover {background: #2BB1D1; color: #fff;}

/* COOKIE MODAL (settings) */
.cookie-modal-overlay {
  position: fixed;
  left: 0;top: 0;width: 100vw;height: 100vh;
  background: rgba(24,64,93,.38);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  animation: cookieModalIn .4s both;
}
@keyframes cookieModalIn {0%{opacity:0;transform:scale(1.16);}100%{opacity:1;transform:scale(1);}}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  min-width: 310px;
  max-width: 98vw;
  padding: 34px 24px 24px 24px;
  box-shadow: 0 8px 38px 0 rgba(60,200,255,0.12);
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  z-index: 2250;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  animation: cookieModalPopup .6s cubic-bezier(.43,1.33,.23,1.15);
}
@keyframes cookieModalPopup {0%{transform:scale(.92);}50%{transform:scale(1.04);}100%{transform:scale(1);}}
.cookie-modal h3 {font-size: 1.33rem; margin-bottom: 7px;}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 17px;
  background: #E2EEF8;
  border-radius: 8px;
  padding: 11px 7px 11px 15px;
  min-width: 160px; margin-bottom: 9px;
}
.cookie-category input[type=checkbox] {
  margin-right: 8px;
  accent-color: #2BB1D1;
  width: 20px; height: 20px;
}
.cookie-category label {font-size: 1.08rem; color: #18405D; font-weight: 500;}
.cookie-modal .modal-actions {
  display: flex; gap: 13px; margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-close {
  position: absolute; right: 13px; top: 15px;
  background: none; border: none;
  font-size: 1.6rem;
  color: #2BB1D1;
  cursor: pointer;
  z-index: 10;
}
@media (max-width: 450px) {
  .cookie-modal { min-width: unset; padding: 20px 8px 18px 8px; }
}

/* SHADOWS & MISC */
@media (max-width: 560px) {
  .section, .about-short, .newsletter, .thank-you, .card, .cta-final{padding: 13px 0.5em;}
}

/* PLAYFUL DYNAMIC EXTRAS & ANIMATION */
@keyframes bounceIn {
  0% { transform: scale(.8) rotate(-6deg); opacity: .8; }
  80% { transform: scale(1.04) rotate(3deg);}
  100% { transform: scale(1) rotate(0); opacity: 1;}
}
h1, h2 {
  animation: bounceIn 0.6s cubic-bezier(.5,1,0.89,1) 0.05s both;
}
.card, .feature-item, .testimonial-card {
  animation: fadeUp .73s cubic-bezier(.29,1.9,.56,0.99) 0.12s both;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(36px) scale(.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* SCROLLBAR styling */
::-webkit-scrollbar { width: 10px; background: #E2EEF8;}
::-webkit-scrollbar-thumb { background: #2BB1D1; border-radius: 6px;}

/* UTILITY CLASSES */
.mt-1 {margin-top: 8px;}
.mt-2 {margin-top: 16px;}
.mb-1 {margin-bottom: 8px;}
.mb-2 {margin-bottom: 16px;}

/* ACCENT COLOR CLASSES */
.text-accent {color: #2BB1D1;}
.text-primary {color: #18405D;}
.bg-accent {background: #2BB1D1 ; color: #fff;}
.bg-primary {background: #18405D ; color: #fff;}

/* VISUAL SEPARATORS */
hr {
  border: 0;
  height: 2.5px;
  background: #2BB1D1;
  border-radius: 2.5px;
  margin: 32px auto 29px auto;
  width: 90px;
  opacity: 0.25;
}

/* FOCUS STATES */
a, button, input, textarea, select {
  outline: 2.5px solid #2BB1D1;
  outline-offset: 1.5px;
  transition: outline-color .13s;
}
a:focus, button:focus {outline: 2.5px solid #18405D; outline-offset:2px;}

/* ACCESIBILITY: Ensure testimonial text clarity */
.testimonials .testimonial-card,
.testimonials blockquote,
.testimonials strong {
  color: #18405D !important;
}

/* SPACING: Ensure no card or section overlaps */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}

/* FLEXBOX ENFORCEMENT */
/* All major containers already set to display:flex in correct sections above */

/* END OF STYLE.CSS */
