/* =============================================================
   CSS RESET & BASELINE 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-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: #F7FBFC;
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

img, picture, video, canvas, svg {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #51B2CF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #183153;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.4em;
}
strong {
  font-weight: 600;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border: none;
  background: none;
  outline: none;
}
hr {
  border: none;
  border-bottom: 1px solid #E3EAF4;
  margin: 32px 0;
}

/* =============================================================
   TYPOGRAPHY: "soft_pastel" PASTEL STYLE
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #183153;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
  font-weight: 800;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6em;
}
h3 {
  font-size: 1.33rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol {
  color: #305377;
  font-size: 1rem;
  margin-bottom: 1.3em;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Type scale (mobile-first):
   14, 16, 18, 24, 32, 48 (with media queries for upsize)
*/
@media (min-width: 500px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.5rem; }
  body, p, ul, ol { font-size: 1.1rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.7rem; }
  body, p, ul, ol { font-size: 1.15rem; }
}

/* =============================================================
   COLORS (SOFT PASTEL + BRAND)
   ============================================================= */
:root {
  --bsw-primary: #183153;
  --bsw-secondary: #51B2CF;
  --bsw-accent: #F1F6F8;
  --soft-pink: #FFD6E0;
  --soft-blue: #D7F0FF;
  --soft-teal: #BEEFF7;
  --soft-lavender: #E2E6F7;
  --soft-mint: #CCF2E6;
  --soft-yellow: #FFF3CC;
  --section-bg: #FAFBFC;
  --shadow: 0 2px 16px 0 rgba(80,101,136,0.07), 0 1.5px 2.5px 0 rgba(144,183,206,0.07);
  --radius: 20px;
}

/* =============================================================
   LAYOUT & CONTAINERS (FLEXBOX ONLY)
   ============================================================= */
.container {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
}

/* Card/container layouts */
.card-container, .content-grid, .feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {  
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(80,101,136,0.18), 0 4px 16px 0 rgba(144,183,206,0.07);
  transform: translateY(-3px) scale(1.012);
}

/* Testimonials */
.testimonial-card {
  background: linear-gradient(120deg, #D7F0FF 60%, #FFD6E0 100%);
  color: #183153;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.05rem;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95em;
  color: #305377;
  opacity: 0.87;
  margin-top: 8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(80,101,136,0.22);
  outline: 1.5px solid #BEEFF7;
  transform: translateY(-3px) scale(1.01);
}

/* Feature List Items */
.feature-grid, .service-list  {
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.feature-grid li, .service-list li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 6px 32px 0 rgba(80,101,136,0.17);
  transform: translateY(-2px);
}

.price-tag {
  display: inline-block;
  background: #FFF3CC;
  color: #775c17;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 11px;
  padding: 4px 16px;
  margin-top: 8px;
  font-size: 1em;
  box-shadow: 0 1px 5px 0 rgba(255,208,111,0.09);
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  background: linear-gradient(100deg, #E2E6F7 50%, #BEEFF7 250%);
  box-shadow: 0 2px 10px 0 rgba(80,101,136,0.06);
  border-bottom: 1.5px solid #D7F0FF;
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
}
.logo-link img {
  height: 44px;
  max-width: 140px;
  display: block;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #305377;
  font-size: 1.07em;
  padding: 7px 11px;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
nav a:hover, nav a.active {
  background: #D7F0FF;
  color: #183153;
}

.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #51B2CF 60%, #FFD6E0 180%);
  color: #183153;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 32px;
  font-size: 1.07em;
  box-shadow: 0 1.5px 8px 0 rgba(80,101,136,0.11);
  letter-spacing: 0.01em;
  transition: background 0.21s, color 0.15s, box-shadow 0.14s, transform 0.14s;
  margin-left: 8px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: linear-gradient(90deg, #183153 30%, #51B2CF 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px 0 rgba(80,101,136,0.18);
  outline: none;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: #51B2CF;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 11px 14px;
  border-radius: 50%;
  box-shadow: 0 1.5px 8px 0 rgba(72,181,194,0.15);
  transition: background 0.21s, transform 0.12s;
  z-index: 99;
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 16px;
}
.mobile-menu-toggle:active {
  background: #183153;
  color: #FFD6E0;
  transform: scale(0.97);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(130deg, #EFFAFF 70%, #FFD6E0 100%);
  transform: translateX(100%);
  transition: transform 0.29s cubic-bezier(0.61,0.10,0.68, 0.87);
  box-shadow: -4px 0 32px 0 rgba(80,101,136,0.15);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  color: #183153;
  padding: 15px 20px 5px 0;
  margin: 0 10px 5px 0;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #51B2CF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 60px 0 0 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #183153;
  font-weight: 600;
  font-size: 1.12em;
  padding: 13px 22px 13px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #BEEFF7;
  color: #51B2CF;
}

/* Hide main nav on mobile, show burger */
@media (max-width: 920px) {
  header .container nav,
  header .container .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo-link {
    margin-right: auto;
  }
  header .container {
    padding-right: 54px;
  }
}

/* Always hide mobile menu on desktop */
@media (min-width: 921px) {
  .mobile-menu { display: none !important; }
}

/* =============================================================
   MAIN & SECTION SPACING/ALIGNMENTS
   ============================================================= */
main {
  margin-bottom: 70px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--radius);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container, .feature-grid, .service-list {
    flex-direction: column !important;
    gap: 18px;
  }
  .feature-grid li, .service-list li {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  section {
    padding: 32px 8px;
    margin-bottom: 36px;
    border-radius: 16px;
  }
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: linear-gradient(120deg, #D7F0FF 80%, #BEEFF7 200%);
  border-top: 1.5px solid #E2E6F7;
  box-shadow: 0 -2px 12px 0 rgba(80,101,136,0.08);
  padding: 12px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  gap: 32px 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-navigation nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-navigation a {
  color: #305377;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 7px;
  transition: background 0.15s, color 0.12s;
}
.footer-navigation a:hover {
  background: #CCF2E6;
  color: #183153;
}
.footer-logo img {
  height: 42px;
}
.footer-social a {
  margin-right: 9px;
  opacity: 0.84;
  transition: opacity 0.18s, transform 0.17s;
}
.footer-social a:hover {
  opacity: 1;
  transform: scale(1.12);
}
.footer-copy {
  font-size: 0.98em;
  color: #7182a4;
  margin-left: auto;
  opacity: 0.88;
  font-family: 'Roboto', Arial, sans-serif;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px 0;
  }
  .footer-logo {
    margin-top: 12px;
  }
}

/* =============================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================= */
button, .cta-btn, .price-tag {
  cursor: pointer;
  outline: none;
  border: none;
}
button:focus-visible,
.cta-btn:focus-visible {
  outline: 2.5px solid #51B2CF;
  outline-offset: 2px;
}

/* Animations/Micro-interactions */
a, .cta-btn, button, .card, .card-container > *, .testimonial-card {
  transition: box-shadow 0.18s, background 0.21s, color 0.13s, transform 0.15s;
}

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================= */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 3000;
  background: linear-gradient(95deg, #FFF3CC 65%, #D7F0FF 100%);
  box-shadow: 0 -2px 24px 0 rgba(80,101,136,0.16);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-radius: 18px 18px 0 0;
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.18s, transform 0.22s;
}
#cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
#cookie-banner p {
  font-size: 1em;
  color: #183153;
  flex: 1 1 auto;
  margin-bottom: 0;
}
#cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 18px;
}
.cookie-btn {
  background: #fff;
  color: #183153;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  padding: 8px 19px;
  border: 1.5px solid #D7F0FF;
  transition: background 0.17s, color 0.14s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #51B2CF;
  color: #fff;
  border-color: #51B2CF;
}
.cookie-btn.reject {
  background: #FFD6E0;
  color: #4E2338;
  border-color: #FFD6E0;
}
.cookie-btn.settings {
  background: #fff;
  border-color: #D7F0FF;
}
.cookie-btn:hover, .cookie-btn:focus {
  box-shadow: 0 2px 8px 0 rgba(80,101,136,0.12);
}
.cookie-btn.accept:hover {
  background: #183153;
  color: #fff;
  border-color: #183153;
}
.cookie-btn.reject:hover {
  background: #775c17;
  color: #fff;
  border-color: #FFD6E0;
}
.cookie-btn.settings:hover {
  background: #D7F0FF;
  color: #305377;
}

@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 7px 22px 12px;
    gap: 13px;
    font-size: 0.99em;
  }
  #cookie-banner .cookie-btn-group {
    margin-left: 0;
    gap: 11px;
  }
}

/* Cookie Modal Preference Popup */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(54,85,98,0.21);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s;
}
#cookie-modal.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal-content {
  background: linear-gradient(120deg, #EFFAFF 60%, #FFD6E0 110%);
  border-radius: 20px;
  box-shadow: 0 2px 32px 0 rgba(80,101,136,0.18);
  padding: 34px 24px 24px 24px;
  min-width: 310px;
  max-width: 94vw;
  color: #183153;
  display: flex;
  flex-direction: column;
  gap: 0.9em 0;
}
.cookie-modal-content h2 {
  font-size: 1.2em;
  margin-bottom: 12px;
}
.cookie-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 8px 0 rgba(144,183,206,0.08);
  padding: 14px 16px;
  margin-bottom: 13px;
}
.modal-close {
  background: none;
  color: #183153;
  font-size: 1.4em;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  padding: 3px 10px 1px 0;
}
.modal-close:hover {
  color: #51B2CF;
}
.cookie-switch-group {
  display: flex;
  flex-direction: column;
  gap: 11px 0;
  margin-top: 11px;
}
.cookie-switch-label {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #305377;
  font-size: 1em;
  gap: 9px;
}
.cookie-switch {
  width: 38px; height: 22px;
  position: relative;
  display: inline-block;
  background: #D7F0FF;
  border-radius: 12px;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.2s;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  left: 1.5px; top: 2px; bottom: 2px;
  width: 19px;
  background: #51B2CF;
  border-radius: 10px;
  transition: transform 0.16s, background 0.15s;
}
.cookie-switch input:checked + .cookie-slider {
  transform: translateX(14px);
  background: #183153;
}
.cookie-switch input:disabled + .cookie-slider {
  background: #D7F0FF;
  opacity: 0.55;
}

/* =============================================================
   SOFT PASTEL DECOR/ATMOSPHERE
   ============================================================= */
section {
  box-shadow: 0 2px 18px 0 rgba(144,183,206,0.07);
  background: linear-gradient(110deg, #FAFBFC 90%, #E2E6F7 140%);
}
.feature-grid li, .service-list li, .testimonial-card, .card {
  border: 1.5px solid #E2E6F7;
}

/* Pastel bubble decorations (for hero sections, if desired) */
.bubble {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.32;
  pointer-events: none;
  filter: blur(1.5px);
  animation: bubble-float 5.8s ease-in-out infinite alternate;
}
@keyframes bubble-float {
  to {
    transform: translateY(-20px) scale(0.92);
    opacity: 0.44;
  }
}

/* =============================================================
   FORMS, INPUTS, TABLES (WHEN PRESENT)
   ============================================================= */
input, textarea, select {
  background: #fff;
  border-radius: 13px;
  border: 1.5px solid #D7F0FF;
  box-shadow: 0 1px 5px 0 rgba(80,101,136,0.07);
  padding: 11px 14px;
  font-size: 1em;
  color: #183153;
  transition: border-color 0.17s, box-shadow 0.15s;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #51B2CF;
  box-shadow: 0 2px 8px 0 rgba(81,178,207,0.13);
}

/* =============================================================
   OTHER MISC CLASSES
   ============================================================= */
span, .tag {
  font-size: 1em;
}
.tag {
  background: #D7F0FF;
  color: #183153;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 9px;
  padding: 2px 11px;
  margin-right: 6px;
}

/* Highlighted inline elements */
.highlight {
  background: #FFD6E0;
  color: #183153;
  border-radius: 5px;
  padding: 1.5px 7px;
  font-weight: 600;
}

/*#endregion*/

/* =============================================================
   SCROLLBAR
   ============================================================= */
::-webkit-scrollbar {
  width: 8px;
  background: #F8FDFF;
}
::-webkit-scrollbar-thumb {
  background: #E2E6F7;
  border-radius: 5px;
}

/* =============================================================
   PRINT OPTIMIZATION
   ============================================================= */
@media print {
  header, nav, .mobile-menu, .cta-btn, #cookie-banner, .footer-social {
    display: none !important;
  }
  section, main, footer, body {
    background: #fff !important;
    box-shadow: none !important;
    color: #183153 !important;
  }
}
