/* RESET & NORMALIZATION */
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: 'Roboto', Arial, sans-serif;
  color: #273A5B;
  background: #F9F7F4;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  user-select: none;
}

ul, ol {
  padding-left: 1rem;
  margin-bottom: 16px;
}
li {
  margin-bottom: 10px;
}
a {
  color: #47BFA6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #273A5B;
  text-decoration: underline;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #273A5B;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

strong {
  color: #273A5B;
}

blockquote {
  quotes: none;
  font-style: italic;
  color: #273A5B;
  background: #F3F7FA;
  padding: 18px 24px;
  border-left: 4px solid #47BFA6;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* FLEXBOX CORE PATTERNS (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(39,58,91,0.08), 0 1.5px 3.5px rgba(71,191,166,0.03);
  padding: 32px 24px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: box-shadow 0.25s, transform 0.21s;
}
.card:hover {
  box-shadow: 0 8px 33px rgba(71,191,166,0.12), 0 3px 15px rgba(39,58,91,0.10);
  transform: translateY(-4px) scale(1.015);
}
.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: #F3F7FA;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(39,58,91,0.06);
  margin-bottom: 24px;
  flex: 1 1 100%;
  color: #273A5B;
  transition: box-shadow 0.22s, transform 0.21s;
}
.testimonial-card strong {
  margin-left: 12px;
  font-weight: 600;
  color: #273A5B;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(39,58,91,0.11);
  transform: translateY(-3px) scale(1.012);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 5px rgba(71,191,166,0.05);
  padding: 30px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.feature-item:hover {
  box-shadow: 0 5px 20px rgba(71,191,166,0.11), 0 2px 8px rgba(39,58,91,0.06);
  transform: translateY(-2.5px) scale(1.01);
}

/* HERO SECTION */
.hero-section {
  background: linear-gradient(120deg, #F3F7FA 60%, #F9F7F4 100%);
  padding: 56px 0 52px 0;
  margin-bottom: 60px;
}
.hero-section h1 {
  font-size: 2.5rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #47BFA6 30%, #799AE5 80%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section h2 {
  font-size: 1.4rem;
  color: #273A5B;
  margin-bottom: 32px;
}
.hero-section .cta-primary {
  margin-top: 14px;
}

/* CTA STYLES */
.cta-primary,
.cta-secondary {
  display: inline-block;
  padding: 16px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 32px;
  border: none;
  background: #47BFA6;
  color: #fff;
  box-shadow: 0 2px 12px rgba(71,191,166,0.17);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.21s, box-shadow 0.22s, transform 0.18s;
  margin-right: 12px;
  margin-bottom: 8px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #273A5B;
  color: #fff;
  box-shadow: 0 5px 20px rgba(39,58,91,0.14);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: #fff;
  color: #47BFA6;
  border: 2px solid #47BFA6;
  box-shadow: 0 1px 6px rgba(39,58,91,0.09);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #47BFA6;
  color: #fff;
}

.cta-bottom {
  background: linear-gradient(80deg, #47BFA6 22%, #F9F7F4 90%);
  border-radius: 36px;
  margin: 60px 0;
  padding: 60px 20px;
  text-align: center;
}
.cta-bottom h2 {
  color: #273A5B;
}

/* NAVIGATION */
header {
  padding: 0;
  box-shadow: 0 1.5px 16px rgba(39,58,91,0.04);
  background: #F9F7F4;
  position: relative;
  z-index: 51;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.main-nav a {
  color: #273A5B;
  font-size: 1rem;
  padding: 9px 18px;
  border-radius: 24px;
  transition: background 0.14s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EAF8F5;
  color: #47BFA6;
}
.main-nav .cta-primary {
  margin-right: 0;
  margin-left: 10px;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  .main-nav {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 20px;
  background: #F3F7FA;
  border-radius: 6px;
  padding: 7px 12px 7px 12px;
  font-size: 2rem;
  color: #47BFA6;
  z-index: 111;
  border: 2px solid #47BFA6;
  box-shadow: 0 2px 6px rgba(71,191,166,0.13);
  transition: background 0.19s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #47BFA6;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(249,247,244, 0.97);
  z-index: 9999;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.86,0,0.07,1);
  box-shadow: 2px 0 24px rgba(39,58,91,0.08);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #EAF8F5;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1.8rem;
  margin: 20px 20px 14px 0;
  color: #47BFA6;
  border: 2px solid #47BFA6;
  box-shadow: 0 1.5px 6px rgba(71,191,166,0.12);
  transition: background 0.18s;
}
.mobile-menu-close:focus {
  background: #47BFA6;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 0 34px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #273A5B;
  padding: 14px 0;
  transition: color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #47BFA6;
  text-decoration: underline;
}
@media (max-width: 930px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 931px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  margin-top: 60px;
  padding: 40px 0 0 0;
  background: #F3F7FA;
  box-shadow: 0 -2px 12px rgba(39,58,91,0.06);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 14px 0;
  font-size: 1rem;
  justify-content: center;
}
.footer-menu a {
  color: #273A5B;
  opacity: 0.86;
  padding: 6px 12px;
  transition: color 0.13s;
}
.footer-menu a:hover {
  color: #47BFA6;
  opacity: 1;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  opacity: 0.92;
}
.contact-details span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.contact-details a {
  color: #273A5B;
  transition: color 0.14s;
}
.contact-details a:hover, .contact-details a:focus {
  color: #47BFA6;
}

/* CLIENT LOGOS */
.client-logos {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 15px;
}

/* BLOG POST PREVIEWS */
.posts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.post-teaser {
  flex: 1 1 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(71,191,166,0.07);
  padding: 24px 20px 22px 20px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.17s;
}
.post-teaser:hover {
  box-shadow: 0 8px 28px rgba(47,181,166,0.10), 0 2.5px 12px rgba(39,58,91,0.08);
  transform: translateY(-3px) scale(1.01);
}
.post-teaser h2 {
  font-size: 1.25rem;
  color: #273A5B;
  margin-bottom: 12px;
}
.post-teaser a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 500;
  color: #47BFA6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* NEWSLETTER SIGNUP */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 20px;
  background: #F3F7FA;
  border-radius: 16px;
  box-shadow: 0 1px 5px rgba(47,181,166,0.06);
  margin-top: 8px;
}
.newsletter-signup strong, .newsletter-signup a {
  color: #47BFA6;
}

/* SERVICE LISTS */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.services-list li {
  background: #fff;
  border-radius: 15px;
  padding: 18px 20px;
  box-shadow: 0 1px 6px rgba(71,191,166,0.06);
  font-size: 1.09rem;
}

/* STEPS (HOW IT WORKS PAGE) */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 8px rgba(71,191,166,0.05);
  padding: 30px 20px;
  margin-bottom: 10px;
  flex: 1 1 220px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.step-item:hover {
  box-shadow: 0 6px 18px rgba(39,58,91,0.08);
  transform: translateY(-2px) scale(1.009);
}

/* TEXT SECTIONS */
.text-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1.5px 5px rgba(71,191,166,0.06);
  padding: 30px 20px;
  margin-bottom: 18px;
}
.text-section ul {
  margin-bottom: 12px;
}
.text-section p {
  margin-bottom: 13px;
}

/* GENERAL RESPONSIVE FLEX ADJUSTMENTS */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 22px 6px;
  }
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .content-grid, .card-container, .posts-list, .steps-list {
    flex-direction: column;
    gap: 16px;
  }
  .cta-bottom {
    border-radius: 13px;
    padding: 30px 12px;
    margin: 30px 0;
  }
  .footer-menu {
    gap: 11px;
    font-size: 0.98rem;
  }
  .client-logos {
    gap: 17px;
  }
  .hero-section {
    padding: 22px 0 26px 0;
    margin-bottom: 32px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    top: 14px;
    right: 10px;
    font-size: 2.1rem;
    padding: 7px 13px 7px 13px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 17px;
  }
  .feature-item, .step-item, .card, .post-teaser, .text-section, .newsletter-signup {
    padding: 18px 11px;
    min-width: 180px;
    border-radius: 12px;
  }
}

/* TYPOGRAPHY SCALE & HIERARCHY */
@media (max-width: 600px) {
  h1 { font-size: 1.6rem; margin-bottom: 13px; }
  h2 { font-size: 1.28rem; margin-bottom: 10px; }
  h3 { font-size: 1rem; margin-bottom: 8px; }
  .cta-primary, .cta-secondary { padding: 11px 20px; font-size: 0.99rem; }
  nav .cta-primary { padding: 8px 13px; }
}

/* MICRO-INTERACTIONS & ANIMATIONS */
.card, .post-teaser, .testimonial-card, .feature-item, .step-item {
  transition: box-shadow 0.21s, transform 0.18s;
}
.cta-primary, .cta-secondary { transition: background 0.19s, color 0.14s, transform 0.16s; }

/* ACCESSIBILITY: FOCUS STATES */
a:focus, button:focus, .card:focus, .feature-item:focus {
  outline: 2.5px solid #47BFA6;
  outline-offset: 3px;
}

/* MISC ELEMENTS */
hr {
  border: none;
  height: 1px;
  background: #EAF8F5;
  margin: 20px 0;
}

/* COOKIE CONSENT BANNER & PREFERENCES MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 10000;
  background: #F3F7FA;
  border-top: 2px solid #47BFA6;
  box-shadow: 0 -2px 14px rgba(39,58,91,0.10);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 30px 18px 20px;
  font-size: 1.04rem;
  transition: transform 0.28s cubic-bezier(0.85,0,0.16,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner strong {
  color: #273A5B;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #47BFA6;
  color: #fff;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.18s;
  box-shadow: 0 1px 5px rgba(71,191,166,0.09);
}
.cookie-banner button:active {
  background: #273A5B;
  color: #fff;
}
.cookie-banner .cookie-preferences-btn {
  background: #fff;
  color: #47BFA6;
  border: 1.5px solid #47BFA6;
  margin-left: 4px;
}
.cookie-banner .cookie-preferences-btn:hover {
  background: #47BFA6;
  color: #fff;
}

@media (max-width: 550px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 14px 10px 10px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btn-group {
    gap: 9px;
  }
}

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,58,91,0.18);
  z-index: 10001;
}
.cookie-modal-backdrop.active {
  display: block;
}
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 44px rgba(39,58,91,0.20);
  z-index: 10002;
  min-width: 340px;
  max-width: 92vw;
  padding: 34px 30px 30px 30px;
  animation: cookieModalIn 0.29s cubic-bezier(0.83,0,0.19,1);
}
@keyframes cookieModalIn {
  from { opacity:0; transform:translate(-50%,-50%) scale(0.92); }
  to { opacity:1; transform:translate(-50%,-50%) scale(1); }
}
.cookie-modal.active {
  display: block;
}
.cookie-modal h2 {
  color: #273A5B;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: #273A5B;
}
.cookie-modal .cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .category-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 26px;
}
.cookie-modal button {
  padding: 10px 21px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  font-weight: 600;
  transition: background 0.145s, color 0.12s;
  background: #47BFA6;
  color: #fff;
  margin-left: 2px;
}
.cookie-modal button.secondary {
  background: #fff;
  color: #273A5B;
  border: 1.5px solid #47BFA6;
}
.cookie-modal button.secondary:hover {
  background: #47BFA6;
  color: #fff;
}
.cookie-modal button:hover {
  background: #273A5B;
  color: #fff;
}

@media (max-width: 490px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 19px 12px 18px 12px;
  }
}

/* SWITCH STYLE FOR COOKIE MODAL */
.category-toggle {
  position: relative;
  display: inline-block;
  width: 43px;
  height: 22px;
}
.category-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.category-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #EAF8F5;
  border-radius: 22px;
  transition: background 0.19s;
}
.category-toggle input:checked + .category-slider {
  background: #47BFA6;
}
.category-slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 1px;
  bottom: 1.5px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.21s;
  box-shadow: 0 0.5px 2px rgba(39,58,91,0.06);
}
.category-toggle input:checked + .category-slider:before {
  transform: translateX(21px);
}

/* ACCESSIBILITY & INPUTS */
input, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 7px;
  border: 1.5px solid #EAF8F5;
  background: #fff;
  margin-bottom: 11px;
  transition: border 0.15s, box-shadow 0.13s;
}
input:focus, textarea:focus {
  border-color: #47BFA6;
  box-shadow: 0 0 3px #47BFA6;
  outline: none;
}

/* DREAMY, SOFT PASTEL ACCENTS */
body, .section, .container, .content-wrapper, .footer, .feature-grid, .feature-item, .card, .testimonial-card, .post-teaser {
  font-family: 'Roboto', Arial, sans-serif;
}
.hero-section,
.cta-bottom, .cta-section, .newsletter-signup, .feature-grid, .testimonial-card, .feature-item {
  /* subtle dream-like effect via pastel blends */
  background-blend-mode: lighten;
}

/* SOFT SHADOWS & ROUNDED CORNERS */
.card, .feature-item, .testimonial-card, .post-teaser, .text-section, .newsletter-signup, .services-list li, .step-item {
  border-radius: 18px;
  box-shadow: 0 2.5px 12px rgba(71,191,166,0.06), 0 1.7px 8px rgba(39,58,91,0.08);
}

/* SOFT PASTEL COLOR PALETTE (ACCENT BLENDS) */
:root {
  --color-primary: #273A5B;
  --color-secondary: #47BFA6;
  --color-accent: #F9F7F4;
  --color-bg-light: #F3F7FA;
  --color-accent2: #FFC7C7;
  --color-accent3: #A7D6F5;
  --color-accent4: #FDE8D1;
}

/* Responsive content-image sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Spacing and Alignment Fixes */
.card:not(:last-child), .feature-item:not(:last-child), .testimonial-card:not(:last-child), .step-item:not(:last-child), .post-teaser:not(:last-child) {
  margin-bottom: 20px;
}
.content-grid, .feature-grid, .posts-list, .card-container, .steps-list {
  gap: 20px;
}

/***** Z-INDEX LAYERING AND PREVENT OVERLAPPING *****/
.mobile-menu,
.cookie-banner,
.cookie-modal,
.cookie-modal-backdrop {
  z-index: 10010;
}
header {
  z-index: 101;
}

/***** PRINT FRIENDLY *****/
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, .cta-bottom, .cta-section { display: none !important; }
  body, .section, .container { background: #fff !important; color: #273A5B !important; }
  .card, .feature-item, .testimonial-card, .post-teaser, .text-section { box-shadow: none !important; border-radius: 0 !important; }
}
