/* RESET & NORMALIZE */
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8F9FC;
  color: #223B53;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #3497D6;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #223B53;
}
strong {
  font-weight: 700;
}

/* FONT FAMILIES (soft pastel style) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #223B53;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #2a435d;
}

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  p { font-size: 1.1rem; }
}

/* PASTEL COLOR PALETTE (Custom properties) */
:root {
  --color-primary: #223B53;
  --color-secondary: #67BFFF;
  --color-accent: #F8F9FC;
  --color-pastel-blue: #CBE9FF;
  --color-pastel-lavender: #EBECFF;
  --color-pastel-mint: #E3F7F0;
  --color-pastel-yellow: #FFF8E3;
  --color-pastel-pink: #FEE7F6;
  --color-dark: #16273B;
  --color-success: #72DDA6;
  --color-danger: #EC7272;
  --color-shadow: rgba(34,59,83,0.10);
}

/* SPACING PATTERNS */
.container {
  max-width: 1080px;
  padding: 0 18px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 22px;
  box-shadow: 0 6px 32px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 28px 5vw;
    margin-bottom: 32px;
  }
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: column;
  margin-top: 18px;
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--color-pastel-blue);
  border-radius: 16px;
  box-shadow: 0 2px 18px var(--color-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
  min-width: 220px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  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;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.text-section {
  background: var(--color-pastel-mint);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 24px 28px;
  margin-bottom: 20px;
  background: var(--color-pastel-yellow);
  border-radius: 18px;
  box-shadow: 0 4px 18px var(--color-shadow);
  max-width: 480px;
  border-left: 5px solid var(--color-secondary);
  font-size: 1.1em;
  position: relative;
}
.testimonial-card p {
  font-size: 1.08em;
  color: #223B53;
  margin-bottom: 2px;
}
.testimonial-card span {
  font-size: 0.95em;
  color: #6D7B91;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 16px;
  background: var(--color-pastel-pink);
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin: 10px 0 20px 0;
}

/* NAVBAR / HEADER */
header {
  width: 100%;
  background: linear-gradient(90deg,#F8F9FC 85%, var(--color-secondary) 300%);
  box-shadow: 0 4px 15px var(--color-shadow);
  position: relative;
  z-index: 10;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 18px;
}
.navbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.navbar a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 0.88;
  letter-spacing: 0.02em;
  padding: 8px 4px;
  border-radius: 7px;
  transition: background 0.16s, color 0.2s;
}
.navbar nav a:hover, .navbar nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
  outline: none;
}
.navbar img {
  height: 38px;
  width: auto;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 34px;
  cursor: pointer;
  box-shadow: 0 2px 16px var(--color-shadow);
  margin-left: 24px;
  letter-spacing: 0.04em;
  transition: background 0.18s, transform 0.11s;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  margin-left: 12px;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 80;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
  outline: none;
}
@media (max-width: 900px) {
  .navbar nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 84vw;
  max-width: 350px;
  height: 100vh;
  background: linear-gradient(135deg, var(--color-accent) 75%, var(--color-pastel-blue) 120%);
  box-shadow: -4px 0 32px var(--color-shadow);
  transform: translateX(100%);
  transition: transform 0.40s cubic-bezier(.66,.04,.37,1.09);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  margin-bottom: 18px;
  transition: color 0.16s;
}
.mobile-menu-close:focus {
  color: var(--color-secondary);
  outline: 2px solid var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 500;
  padding: 12px 6px 12px 0;
  border-radius: 6px;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-secondary);
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN CONTENT LAYOUTS */
main {
  margin-top: 0; /* Header is not sticky */
  min-height: 68vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 20px var(--color-shadow);
}

@media (max-width: 768px) {
  section {
    padding: 22px 5vw;
    margin-bottom: 34px;
  }
}

/* FOR FLEXBOX SPACING - utility class for e.g. card flex layouts */
.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* SERVICE / OFFER CARDS (with icons) */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .content-wrapper ul {
    flex-direction: column;
    gap: 18px;
  }
}
.content-wrapper ul li {
  background: var(--color-pastel-lavender);
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 26px 16px 20px 22px;
  min-width: 230px;
  margin-bottom: 20px;
  display: flex;
  flex: 1 1 250px;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.13s;
  position: relative;
}
.content-wrapper ul li:hover {
  box-shadow: 0 5px 24px var(--color-shadow);
  transform: scale(1.023) translateY(-3px);
  z-index: 1;
}
.content-wrapper ul li img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(103,191,255,0.13));
}
.content-wrapper ul li h3 {
  font-size: 1.09em;
  margin-bottom: 4px;
}
.content-wrapper ul li p {
  font-size: 1em;
}

/* BUTTONS & LINKS */
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  background: var(--color-secondary);
  color: #fff;
  cursor: pointer;
  transition: background 0.17s, transform 0.12s;
}
button:hover, button:focus {
  background: var(--color-primary);
  outline: none;
  transform: translateY(-1px) scale(1.04);
}

/* FOOTER */
footer {
  background: var(--color-pastel-blue);
  border-top: 1px solid #e1ebfa;
  padding: 28px 0 0 0;
  margin-top: 48px;
}
.footer-nav {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 18px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-primary);
  opacity: 0.85;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-nav p {
  font-size: 0.97em;
  color: #6d7b91;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border-top: 1.5px solid var(--color-pastel-lavender);
  box-shadow: 0 -5px 14px var(--color-shadow);
  padding: 24px 14px 18px 14px;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 1em;
  opacity: 1;
  transition: transform 0.4s cubic-bezier(.66,.04,.37,1.09), opacity 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  max-width: 450px;
  margin-right: 20px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  padding: 7px 23px;
  font-size: 1em;
  transition: background 0.13s, color 0.14s, box-shadow 0.12s;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.cookie-btn.accept {
  background: var(--color-success);
  color: #223B53;
}
.cookie-btn.reject {
  background: var(--color-danger);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,68,108,.18);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(0.97);
  background: var(--color-accent);
  min-width: 90vw;
  max-width: 420px;
  border-radius: 20px;
  box-shadow: 0 2px 34px var(--color-shadow);
  padding: 32px 28px 24px 28px;
  z-index: 2200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.35s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h3 {
  font-size: 1.27em;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
.cookie-category input[type='checkbox'], .cookie-category input[type='radio'] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 2em;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:focus {
  color: var(--color-secondary);
  outline: 2px solid var(--color-secondary);
}

/* FORM ELEMENTS */
input, textarea {
  font-family: inherit;
  font-size: 1em;
  color: var(--color-primary);
  background: var(--color-pastel-blue);
  border: 1.4px solid #cae3f6;
  border-radius: 8px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 9px 12px;
  margin-bottom: 16px;
  transition: border-color 0.16s;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

/* ANIMATIONS & MICRO-INTERACTIONS */
section, .card, .testimonial-card, .feature-item, .text-section, .cookie-banner, .cookie-modal {
  animation: fadeInSoft 0.88s cubic-bezier(.39,.34,.31,1.09) both 0.14s;
}
@keyframes fadeInSoft {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container, .footer-nav { max-width: 96vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.09rem; }
  section, .section { padding: 18px 4vw; }
  .content-wrapper, .footer-nav { flex-direction: column; gap: 14px; }
  .testimonial-card { max-width: 99vw; padding: 18px 8vw 20px 7vw; }
  .card, .content-wrapper ul li { min-width: unset; }
}
@media (max-width: 480px) {
  .container, .footer-nav { padding-left: 0; padding-right: 0; }
  .cookie-banner { flex-direction: column; gap: 14px; padding: 16px 7px 12px 7px; }
}

/* VISUAL EMPHASIS: PASTEL GRADIENT ACCENTS */
.section:nth-child(odd) {
  background: linear-gradient(125deg, var(--color-pastel-blue) 80%, var(--color-accent) 100%);
}
.section:nth-child(even) {
  background: linear-gradient(125deg, var(--color-pastel-mint) 80%, var(--color-accent) 100%);
}

/* VISUAL HIERARCHY & CONSISTENCY UTILITIES */
.mt-20 { margin-top: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.mt-8 { margin-top: 8px; }
/* CUSTOM SCROLLBAR (Modern look) */
::-webkit-scrollbar {
  width: 10px;
  background: var(--color-pastel-blue);
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 7px;
  opacity: 0.8;
}

/* ACCESSIBILITY: Focus styles */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* OVERRIDE: No absolute for content cards (except for close btns/modal overlay) */

/* PASTEL BG FOR BODY */
body {
  background: linear-gradient(135deg, var(--color-pastel-blue) 0%, var(--color-pastel-lavender) 100%);
}

/* Ensure proper color contrast in testimonials and review sections */
.testimonial-card p,
.testimonial-card span {
  color: #223B53;
}

/* Z-INDEX SAFETY FOR NAV & OVERLAYS */
header { z-index: 50; }
.mobile-menu { z-index: 999; }
.cookie-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 2100; }
.cookie-modal { z-index: 2200; }


/* === END OF STYLE.CSS === */
