/* === 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #f8fafc;
  color: #2b3551;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
/* ==== COLOR PALETTE SOFT PASTEL ==== */
:root {
  --primary: #315076;
  --primary-light: #476d96;
  --secondary: #FFFFFF;
  --accent: #FFD700;
  --pastel-blue: #c9e3fb;
  --pastel-yellow: #fff6c8;
  --pastel-pink: #fae6ef;
  --pastel-lilac: #ebedfb;
  --pastel-mint: #e3fbe7;
  --pastel-beige: #faf4ed;
  --border: #e6e8f1;
  --text-main: #31405e;
  --text-soft: #526081;
  --shadow: 0 4px 16px 0 rgba(49,80,118,0.07), 0 1.5px 4px 0 rgba(49,80,118,0.05);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(.5,.2,.2,1);
}
/* ==== TYPOGRAPHY ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

p, ul, ol, li {
  color: var(--text-soft);
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
  color: var(--primary);
}

small {
  font-size: 0.9rem;
  color: #606782;
}

/* Soft Pastel Section backgrounds */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
  background: var(--pastel-lilac);
}
section {
  margin-bottom: 60px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ================ NAVIGATION BAR & HEADER ================ */
header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  box-shadow: 0px 2px 16px 0 rgba(49,80,118,0.03);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
  min-height: 64px;
  padding: 12px 20px;
}
.main-nav > a {
  padding: 8px 16px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  color: var(--primary);
  transition: background var(--transition), color var(--transition);
}
.main-nav > a.cta-primary {
  background: var(--pastel-blue);
  color: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-md);
  margin-left: 10px;
  box-shadow: 0 2px 8px 0 rgba(49,80,118,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.main-nav > a.cta-primary:hover, .main-nav > a.cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 14px 0 rgba(255,215,0,0.18);
}
.main-nav > a:hover, .main-nav> a:focus {
  background: var(--pastel-lilac);
  color: var(--accent);
}
.main-nav > a img {
  height: 38px;
  width: auto;
  display: block;
  margin-right: 20px;
}

/* Hamburger button only visible on mobile */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: var(--pastel-blue);
  border: none;
  color: var(--primary);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 1.5px 7px 0 rgba(49, 80, 118, 0.13);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--accent);
}

/* Hide burger on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* Hide nav on mobile */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
}

/* ================ MOBILE MENU ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(236,244,255,0.98);
  box-shadow: 0 8px 32px rgba(49,80,118,0.15);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.73,.09,.31,1.24);
  z-index: 2000;
  display: flex;
  flex-direction: column;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: var(--pastel-pink);
  border: none;
  font-size: 2rem;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 2200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 56px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--primary);
  background: transparent;
  padding: 16px 0px;
  border-radius: var(--radius-md);
  width: 80vw;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--accent);
}

@media (min-width: 992px) {
  .mobile-menu { display: none !important; }
}

/* ================ HERO SECTIONS ================ */
.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 45%, var(--pastel-beige) 110%);
  padding: 48px 0 24px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.25rem;
  text-shadow: 0 2px 22px rgba(49,80,118,0.10);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 18px;
  color: var(--text-soft);
  max-width: 520px;
}
.hero .cta-primary {
  margin-top: 12px;
}

/* ================ FLEX LAYOUTS ================ */
.card-container, .service-cards, .service-categories, .feature-grid, .testimonials {
  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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ================ CARDS & GRIDS ================ */
.feature-grid > div, .service-cards > div, .service-categories > div, .value-list > li, .guide-list > li, .inspiration-list > li, .project-list > li {
  background: var(--secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 26px 24px 22px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.feature-grid > div:hover, .service-cards > div:hover, .service-categories > div:hover, .value-list > li:hover, .guide-list > li:hover, .inspiration-list > li:hover, .project-list > li:hover {
  box-shadow: 0 8px 36px 0 rgba(136,172,217,0.09), 0 2.5px 8px 0 rgba(49,80,118,0.08);
  transform: translateY(-3px) scale(1.014);
  background: var(--pastel-lilac);
}
.feature-grid img,
.service-cards img,
.service-categories img,
.value-list img,
.guide-list img,
.inspiration-list img,
.project-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  background: var(--pastel-yellow);
  box-shadow: 0 2px 6px 0 rgba(255,215,0,0.08);
  padding: 6px;
}

.value-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.value-list li {
  list-style: none;
  flex: 1 1 220px;
}

.guide-list, .inspiration-list, .project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.guide-list li, .inspiration-list li, .project-list li {
  list-style: none;
  flex: 1 1 220px;
}

@media (max-width: 991px) {
  .feature-grid > div, .service-cards > div, .service-categories > div, .value-list > li, .guide-list > li, .inspiration-list > li, .project-list > li {
    min-width: 94vw;
    width: 100%;
    flex: none;
  }
  .feature-grid, .service-cards, .service-categories, .value-list, .guide-list, .inspiration-list, .project-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ================ TESTIMONIALS ================ */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
}
.testimonial-card {
  background: var(--pastel-mint);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 24px 16px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 36px 0 rgba(73,184,154,0.11);
  background: var(--pastel-blue);
}
.testimonial-card p {
  color: var(--text-main);
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 6px;
}

@media (max-width: 991px) {
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    min-width: 98vw;
    width: 100%;
    flex: none;
  }
}


/* ================ CTAS & BUTTONS ================ */
.cta-primary {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.09rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--pastel-yellow) 60%, var(--pastel-pink) 160%);
  color: var(--primary);
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 2px 18px 0 rgba(255,244,200,0.12);
  letter-spacing: 0.02em;
  margin-top: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--accent) 50%, var(--pastel-yellow) 160%);
  color: var(--primary);
  box-shadow: 0 8px 30px 0 rgba(255,215,59,0.17);
  outline: none;
  transform: translateY(-2px) scale(1.03);
}

button, .cta-primary {
  outline: none;
}

/* ================ LAYOUT: FOOTER ================ */
footer {
  background: var(--pastel-beige);
  padding: 38px 0 26px 0;
  border-top: 1px solid var(--border);
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 1rem;
}
footer img {
  max-height: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0 0;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
footer strong {
  color: var(--primary);
  font-weight: 700;
}
footer small {
  display: block;
  margin-top: 24px;
  color: #a0adc3;
}

@media (max-width: 991px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 10px;
    margin-bottom: 10px;
  }
}

/* ================ SPECIAL LIST STYLES ================ */
ul { margin-left: 1.1em; }
ul li { margin-bottom: 8px; }

/* ================ COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: linear-gradient(90deg, var(--pastel-yellow) 60%, var(--pastel-pink) 160%);
  color: var(--primary);
  box-shadow: 0 0 28px 0 rgba(49,80,118,0.11);
  padding: 18px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(.74,.12,.27,.99);
}
.cookie-banner.hide {
  transform: translateY(140px);
}
.cookie-banner-content {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 2px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 20px 0 rgba(255,215,0,0.17);
}

/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed!important;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(49,80,118,0.15);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: appear-modal-bg 0.27s cubic-bezier(.7,.3,0,1.14);
}
@keyframes appear-modal-bg { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: var(--pastel-mint);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px 0 rgba(49,80,118,0.17);
  padding: 36px 30px 28px 30px;
  min-width: 325px;
  max-width: 94vw;
  color: var(--primary);
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: appear-modal 0.25s cubic-bezier(.66,.14,.37,1.11);
}
@keyframes appear-modal { from { transform: scale(0.88); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.cookie-modal h2 {
  font-size: 1.33rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cookie-modal-toggle input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: var(--primary);
  border-radius: 6px;
}
.cookie-modal-actions {
  margin-top: 8px;
  display: flex;
  gap: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 22px;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 3201;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-yellow);
}

/* ================ RESPONSIVE ALIGNMENTS ================ */
@media (max-width: 991px) {
  .container { padding: 0 8vw; }
  .content-wrapper { gap: 20px; }
  .section, section { padding: 24px 8vw; margin-bottom: 40px; }
}
@media (max-width: 600px) {
  html { font-size: 98%; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; margin-bottom: 8px; }
  .section, section { padding: 16px 4vw; }
  footer { padding: 22px 0 16px 0; }
}
/* HERO RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 24px 0 12px 0; }
  .hero h1 { font-size: 1.45rem; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 2vw;
  }
  .section, section {
    padding: 14px 3vw;
    margin-bottom: 20px;
  }
  .content-wrapper { gap: 12px; }
  .hero .container { gap: 12px; }
  .main-nav { padding: 10px 2vw; }
}
.text-image-section { flex-direction: row; align-items: center; }
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ================ SPECIAL FEEDBACK & MICRO-INTERACTIONS ================ */
.card:hover, .feature-grid>div:hover, .service-cards>div:hover, .service-categories>div:hover {
  box-shadow: 0 12px 40px 0 rgba(108,175,212,0.17);
  transform: translateY(-2px) scale(1.013);
}
.guide-list li:hover, .inspiration-list li:hover, .project-list li:hover {
  background: var(--pastel-mint);
  box-shadow: 0 4px 18px 0 rgba(163,236,196,0.08);
}

/* ================ MISC ================ */
::-webkit-scrollbar {
  width: 10px;
  background: var(--pastel-lilac);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 12px;
}

/* ================ ACCESSIBILITY ================ */
:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =================== PRINT STYLES =================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner { display: none !important; }
  body { background: #fff !important; }
}
