/* -------- CSS 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 {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233049;
  background: #F6F7F9;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background-color: #F6F7F9;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: #3F4D6B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dotted #B9C3D1;
  outline-offset: 2px;
}

/* ----------- TYPOGRAPHY ----------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: #233049;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 26px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
  color: #37496b;
}
blockquote {
  color: #2a3958;
  font-style: italic;
  font-size: 1.15rem;
  border-left: 4px solid #B9C3D1;
  padding-left: 12px;
  margin-bottom: 10px;
}

strong {
  font-weight: bold;
}

/* ----------- PASTEL COLOR SCHEME VARIABLES ----------- */
:root {
  /* Brand & Pastel Palette */
  --primary: #233049;
  --secondary: #B9C3D1;
  --accent: #F6F7F9;
  --pastel-blue: #D7E4F6;
  --pastel-violet: #DAD5F7;
  --pastel-pink: #FFE6EF;
  --pastel-mint: #D4F4EA;
  --pastel-yellow: #FFFADA;
  --white: #fff;
  --gray-text: #757D8A;
  --shadow: 0 4px 14px rgba(185,195,209,0.17);
  --shadow-hover: 0 6px 16px rgba(35,48,73,0.22);
  --card-radius: 18px;
  --button-radius: 32px;
  --transition: 0.18s cubic-bezier(.4,.7,.4,1);
}

/* --------------------------------------- */
/* ----------- LAYOUT HELPERS ------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}
.text-section {
  padding: 28px 0;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: var(--pastel-blue);
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  max-width: 620px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- SPACING PATTERNS ----------- */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
}
.service-block, .service-card {
  background: var(--pastel-mint);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 32px 24px 22px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  flex: 1 1 270px;
}
.service-block:hover, .service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.015);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 24px;
  width: 100%;
}
.price {
  margin-top: 18px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #5D738E;
  background: var(--pastel-yellow);
  border-radius: var(--button-radius);
  padding: 6px 20px;
  display: inline-block;
}

/* ----------- BUTTONS & CTA ----------- */
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #B9C3D1 0%, #D7E4F6 100%);
  color: #233049;
  border: none;
  padding: 14px 36px;
  font-size: 1.125rem;
  border-radius: var(--button-radius);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(35,48,73,0.09);
  margin-top: 16px;
  transition: background 0.18s, color 0.14s, box-shadow var(--transition), transform .14s;
  outline: none;
  display: inline-block;
  text-align: center;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #A2B1CA 0%,  #E2D8F7 100%);
  color: #2A3958;
  box-shadow: 0 3px 20px rgba(35,48,73,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* ----------- MAIN NAVIGATION ----------- */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(185,195,209,0.1);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  height: 72px;
  background: transparent;
  justify-content: flex-start;
}
.main-nav > a {
  color: #233049;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: var(--button-radius);
  transition: background var(--transition), color var(--transition);
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > a:not(.cta-btn):hover {
  background: var(--pastel-pink);
  color: #37496b;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 5px;
}
.main-nav .cta-btn {
  margin-left: 10px;
  margin-bottom: 0;
  font-size: 1rem;
  padding: 10px 24px;
}

/* ----------- FOOTER ----------- */
footer {
  width: 100%;
  background: var(--secondary);
  text-align: center;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #233049;
  padding: 7px 17px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  transition: background 0.16s;
}
.footer-nav a:hover {
  background: var(--pastel-mint);
}
footer p {
  color: #4c5870;
  font-size: .94rem;
}

/* ----------- TESTIMONIALS ----------- */
.testimonial-card {
  background: var(--pastel-blue);
  color: #233049;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: #233049;
  margin-bottom: 0;
  font-size: 1.13rem;
}
.testimonial-card span {
  font-size: 1rem;
  color: #54739D;
  font-weight: 500;
}

/* ----------- LIST ICONS STYLES ----------- */
ul li > img {
  height: 26px;
  width: 26px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #37496b;
  gap: 8px;
  line-height: 1.5;
}

/* ----------- ANIMATIONS ----------- */
@keyframes fade-in {
  from {opacity: 0; transform: translateY(22px);}
  to {opacity: 1; transform: translateY(0);}
}
[data-animate], .testimonial-card, .service-block {
  animation: fade-in .65s ease;
}

/* ----------- MOBILE MENU ----------- */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-violet);
  color: #233049;
  border: none;
  font-size: 2rem;
  border-radius: 10px;
  padding: 9px 15px 9px 15px;
  margin-right: 16px;
  position: absolute;
  right: 10px;
  top: 15px;
  z-index: 90;
  box-shadow: 0 2px 12px rgba(185,195,209,0.12);
  cursor: pointer;
  transition: background 0.19s, color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu-toggle:hover {
  background: var(--pastel-pink);
  color: #2a3958;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #F6F7F9 80%, #E2D8F7 100%);
  box-shadow: 0 4px 32px rgba(35,48,73,0.18);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(0.68,-0.42,0.265,1.55);
  opacity: 1;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  margin: 16px 0 32px 24px;
  align-self: flex-start;
  font-size: 2rem;
  background: transparent;
  color: #233049;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s;
  z-index: 1210;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu-close:hover {
  background: var(--pastel-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding-left: 32px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.35rem;
  padding: 13px 0;
  color: #233049;
  text-decoration: none;
  border-bottom: 1px solid #E2D8F7;
  width: 86%;
  transition: background 0.17s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--pastel-mint);
  border-radius: 12px;
  color: #5570A1;
  padding-left: 8px;
}

/* ----------- COOKIE BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--pastel-pink);
  color: #233049;
  box-shadow: 0 2px 44px rgba(185,195,209,0.22);
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  animation: fade-in 0.65s;
}
.cookie-banner__text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 34px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 28px;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn.accept {
  background: var(--pastel-mint);
  color: #1d2b4f;
}
.cookie-btn.accept:hover {
  background: var(--pastel-blue);
}
.cookie-btn.reject {
  background: #fff;
  border: 1.5px solid #B9C3D1;
  color: #68748f;
}
.cookie-btn.reject:hover {
  background: var(--pastel-yellow);
}
.cookie-btn.settings {
  background: var(--pastel-violet);
  color: #21294c;
}
.cookie-btn.settings:hover {
  background: var(--pastel-blue);
}

/* ----------- COOKIE MODAL ----------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2050;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(185,195,209,0.24);
  animation: fade-in .35s;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #233049;
  border-radius: 22px;
  box-shadow: 0 14px 48px rgba(35,48,73,0.12);
  max-width: 98vw;
  min-width: 310px;
  width: 460px;
  padding: 44px 36px 24px 36px;
  margin: 0 6vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 2px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #233049;
  cursor: pointer;
  transition: background 0.13s;
  border-radius: 50%;
  padding: 2px;
}
.cookie-modal-close:hover {
  background: var(--pastel-pink);
}
.cookie-category input[type="checkbox"] {
  accent-color: #B9C3D1;
  width: 21px;
  height: 21px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 15px;
}

/* ----------- MISCELLANEOUS & HELPERS ---------- */
::-webkit-scrollbar {
  width: 10px;
  background: #ECEEF7;
}
::-webkit-scrollbar-thumb {
  background: #CDD7E5;
  border-radius: 12px;
}

a, .cta-btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  transition: background 0.16s, color 0.17s, box-shadow 0.15s, transform .13s;
}

hr {
  border: 0;
  height: 1px;
  background: #D7E4F6;
  margin: 28px 0;
}

/* ----------- RESPONSIVENESS ----------- */
@media (max-width: 1100px) {
  .container {
    max-width: 100vw;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
    padding: 0 7px;
  }
  .services-grid, .card-container, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header {
    min-height: 58px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 11px 22px;
    margin-top: 13px;
  }
  h1 {
    font-size: 1.45rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.17rem;
    margin-bottom: 15px;
  }
  section {
    padding: 24px 0;
    margin-bottom: 32px;
  }
  .testimonial-card {
    padding: 18px;
    max-width: 98vw;
  }
  .services-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 0px;
  }
  .service-block, .service-card {
    min-width: 90vw;
    width: 97vw;
    padding: 20px 14px 16px 14px;
    margin-bottom: 20px;
    font-size: 1rem;
  }
  .content-wrapper, .text-section {
    padding: 0;
    width: 100%;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 12px 16px 14px;
    gap: 13px;
  }
  .cookie-modal {
    min-width: 93vw;
    width: 96vw;
    padding: 34px 14px 14px 14px;
  }
  .mobile-menu {
    padding-top: 12px;
  }
  .mobile-nav {
    gap: 14px;
    padding-left: 14px;
  }
}

/* For extra small screens */
@media (max-width: 490px) {
  .service-block, .service-card {
    min-width: 96vw;
    font-size: .96rem;
  }
  .container {
    padding-left: 3px;
    padding-right: 3px;
  }
}

/* ----------- FLEX LAYOUT FIXES & SPACING ----------- */
section, .card, .service-block, .testimonial-card {
  margin-bottom: 20px;
}
.card, .service-block, .testimonial-card {
  margin-right: 0;
}
.card-container, .content-grid, .services-grid {
  gap: 20px;
}

/* Prevent overlap for cards etc. */
.card, .service-block, .testimonial-card, .text-section {
  z-index: 1;
}

/* ----------- FORMS (generic for future usage) ----------- */
input, textarea, select {
  padding: 12px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #233049;
  background: #fff;
  border: 1.5px solid #D7E4F6;
  border-radius: 9px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #B9C3D1;
  background: var(--pastel-mint);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 7px;
  color: #1e3250;
}

/* --------- SOFT SHADOWS AND ROUNDED FOR DREAMY LOOK --------- */
.card, .service-block, .testimonial-card, .cookie-modal {
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
}

/* --------- DREAMY SOFT PASTEL BG ELEMENTS --------- */
section {
  background: var(--accent);
  border-bottom: 1.5px solid #E2D8F7;
}
/* Alternating section color for depth (not for footer/header) */
section:nth-child(even) {
  background: var(--pastel-violet);
}

/* -------- INTERACTIONS & MICRO-ANIMATIONS --------- */
.cta-btn, .cookie-btn {
  will-change: transform;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(.97);
}
button:active {
  transform: scale(.97);
}

/* ------- ACCESSIBILITY HIGH CONTRAST (TESTIMONIALS) ------- */
.testimonial-card, .testimonial-card blockquote {
  background: var(--pastel-blue);
  color: #233049;
}

/* ------- OVERRIDE DISPLAY:GRID/COLUMN PROPERTIES ------- */
/* Prevent accidental use via future edit or browser default */
[class*="grid"], [class*="column"] {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* END STYLES */
