/* =======================================
   Dazzle Knowledge Soft Pastel Theme CSS
   Author: Professional Senior CSS/UI Dev
   Style: soft_pastel, flexbox ONLY
   ======================================= */

/* 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 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F3F6FB;
  color: #293A4A;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background-color: #F9FBFC;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul,ol {
  margin-left: 1.5em;
}
a {
  color: #0A376F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #49A2C5;
  text-decoration: underline;
}

/* ========== BRAND TYPOGRAPHY ========== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #0A376F;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #395E91;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #326F86;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #4b587b;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
p, li, ul, ol, span, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  color: #293A4A;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 10px;
}
strong {
  color: #0A376F;
  font-weight: bold;
}

/* ========================
   SPACING & CONTAINERS
   ======================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAFAFA;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(76,140,194,0.04), 0 0.5px 1.5px 0 rgba(120,156,211,0.09);
}

/* ============= FLEXBOX LAYOUTS ============= */
.card-container,
.card-grid,
.feature-grid,
.service-cards,
.training-cards,
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(76,140,194,0.07);
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 240px;
  transition: box-shadow 0.17s;
}
.card:hover {
  box-shadow: 0 7px 20px rgba(76,140,194,0.18);
}
.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: #F7F9FE;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px 0 rgba(61,108,141,0.07);
  border: 1.5px solid #E3EDFA;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** HERO SECTION *****/
.hero {
  background: linear-gradient(135deg, #F8FBFF 70%, #EEDCF7 95%);
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 58px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 2px 32px 0 rgba(142,186,211,0.07);
  min-height: 220px;
}
.hero .content-wrapper > h1,
.hero .content-wrapper > p {
  color: #0A376F;
}
.hero .cta {
  margin-top: 18px;
}

/***** MAIN NAVIGATION *****/
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(11,81,158,.03);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  min-height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 26px;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #395E91;
  padding: 8px 14px;
  border-radius: 12px;
  transition: background 0.2s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E5EEFA;
  color: #0A376F;
}
.cta.btn-primary {
  display: inline-block;
  background: #A4C5F9;
  color: #0A376F;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 11px 30px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 3px 14px #B9E6F5cc, 0 0.5px 1px #B9E6F52e;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
  margin-left: 18px;
  margin-right: 6px;
}
.cta.btn-primary:hover, .cta.btn-primary:focus {
  background: #D8EAFE;
  color: #2567B0;
  box-shadow: 0 4px 25px #ACCDF4ee;
}
.cta.btn-secondary {
  display: inline-block;
  background: #FBE3E8;
  color: #744984;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 10px 28px;
  border: none;
  border-radius: 20px;
  margin-top: 14px;
  box-shadow: 0 2px 9px #fadfea2d;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
}
.cta.btn-secondary:hover, .cta.btn-secondary:focus {
  background: #FFDFF5;
  color: #92429c;
  box-shadow: 0 3px 15px #fadffdbb;
}

/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #326F86;
  background: none;
  border: none;
  border-radius: 10px;
  padding: 6px 15px;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E7F1FF;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,243,251, 0.98);
  box-shadow: 2px 0 64px 0 rgba(76,140,194,0.14);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform 350ms cubic-bezier(.5,.1,.31,1.09);
  will-change: transform;
  padding-top: 45px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #0A376F;
  margin: 25px 18px 6px 0;
  cursor: pointer;
  transition: color 0.17s, background 0.18s;
  border-radius: 8px;
  padding: 3px 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E5EDFF;
  color: #2a6ace;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 18px;
  gap: 14px;
  padding-left: 38px;
}
.mobile-nav a {
  color: #395E91;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: none;
  border-radius: 12px;
  padding: 10px 14px;
  transition: background 0.16s, color 0.18s;
  margin-bottom: 2px;
  min-width: 160px;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #F1F7FF;
  color: #0A376F;
}

/***** FEATURES & SERVICES *****/
.features {
  background: #FDF7FF;
  border-radius: 28px;
  padding: 40px 22px 26px 22px;
  margin-bottom: 60px;
  box-shadow: 0 2px 18px #EADFFD33;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 2px 12px #deeefd39;
  flex: 1 1 195px;
  min-width: 190px;
  max-width: 336px;
  transition: box-shadow 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 24px #b4c7ff36;
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.services ul, .features ul, .about ul, .about ol {
  margin-top: 12px;
  padding-left: 18px;
  line-height: 1.7;
}

.service-cards > div, .training-cards > div, .post {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 13px #B6D9F366;
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-cards > div:hover, .training-cards > div:hover, .post:hover {
  box-shadow: 0 6px 28px #3399ff26;
}
.service-price, .price {
  display: inline-block;
  background: #E2F2FE;
  color: #2567B0;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 12px;
}

/***** TRENDS & BLOG LISTS *****/
.trends-preview, .post-grid {
  margin-top: 20px;
}
.trend-date {
  background: #F5EFFF;
  color: #5D409A;
  border-radius: 10px;
  padding: 4px 12px;
  font-size: 0.93rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: 8px;
}
.insight-teaser {
  background: #FEFAFF;
  border-radius: 15px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px #EFDFF733;
}
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.post {
  flex: 1 1 270px;
  min-width: 220px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px #D9EAFE5d;
  padding: 18px 18px 15px 18px;
  transition: box-shadow 0.17s;
  margin-bottom: 20px;
}
.post h3 {
  color: #2B4180;
}
.category-tags,
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 16px;
  margin-top: 10px;
}
.category-tags span, .filter-options span {
  background: #E8EEF9;
  color: #7F95B7;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  padding: 7px 14px;
}
.category-tags span:hover, .filter-options span:hover {
  background: #FCF1FF;
  color: #9D57CB;
}

/***** TESTIMONIALS *****/
.testimonials {
  background: #F0F9FD;
  border-radius: 28px;
  margin-bottom: 60px;
  padding: 38px 22px;
}
.testimonials .testimonial-card {
  background: #FDFDFF;
  border-radius: 18px;
  margin-bottom: 22px;
  padding: 24px 20px 18px 28px;
  box-shadow: 0 2px 14px #D8E9FF2e;
  border: 1.5px solid #E3EDFA;
}
.testimonial-card p {
  color: #0B2440;
  font-size: 1.08rem;
  margin-right: 22px;
}
.testimonial-card span {
  color: #2567B0;
  font-size: 1rem;
}

/***** CTA SECTIONS *****/
.cta {
  text-align: center;
  margin: 0 auto;
  gap: 10px;
  padding-bottom: 4px;
}
.cta > h2 {
  color: #4977b9;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cta > p {
  color: #395E91;
  font-size: 1.07rem;
}
.cta .cta {
  margin-top: 18px;
}

/***** COMPETENCE ICONS *****/
.competence-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.competence-icons img {
  height: 44px;
  width: 44px;
  background: #F6F6FF;
  border-radius: 10px;
  padding: 6px;
}

/***** FOOTER *****/
footer {
  background: #FAFAFA;
  border-top: 1.5px solid #EAF2FB;
  padding-top: 40px;
  padding-bottom: 28px;
  margin-top: 70px;
  color: #777CA4;
  font-size: 0.96rem;
  box-shadow: 0 -1px 15px #cbdef73f;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.footer-menu, .footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-menu a, .footer-links a {
  color: #7F95B7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 10px;
  transition: background 0.16s, color 0.14s;
}
.footer-menu a:hover, .footer-links a:hover {
  background: #F1F7FF;
  color: #0A376F;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #665EA4;
}
.brand-logo {
  margin: 9px 0 6px 0;
}
.brand-logo img {
  height: 36px;
  width: auto;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 22000;
  background: #fff8fd;
  border-top: 2px solid #E7ECFD;
  box-shadow: 0 -2px 16px rgba(111,169,211,0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 22px 12px;
  font-size: 1.05rem;
  flex-wrap: wrap;
  animation: cookie-in 0.6s cubic-bezier(.7,0,.38,1.19);
}
@keyframes cookie-in {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner span {
  color: #293A4A;
  margin-right: 20px;
  line-height: 1.45;
}
.cookie-banner .cookie-btn {
  background: #BDE8FA;
  color: #0A376F;
  border: none;
  border-radius: 15px;
  padding: 8px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1.5px 8px #BCE9FE22;
  margin-right: 7px;
  margin-bottom: 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.18s;
  outline: none;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #D1EEF8;
  color: #3C52A2;
}
.cookie-banner .cookie-btn.reject { background: #FFF2F5; color: #A0405D; }
.cookie-banner .cookie-btn.reject:hover { background: #FFDDF2; color: #8B184A; }
.cookie-banner .cookie-btn.settings { background: #E9E5FD; color: #8347B6; }
.cookie-banner .cookie-btn.settings:hover { background: #F5E9FF; color: #713DA1; }

.cookie-modal {
  position: fixed;
  z-index: 23000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(40,35,62,.23);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 42px;
  animation: cookie-modal-in 0.55s cubic-bezier(.7,0,.38,1.19);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: none; }
}
.cookie-modal .modal-content {
  background: #FAFCFF;
  border-radius: 32px;
  box-shadow: 0 8px 40px #B9E6F544,0 2px 8px #DDDFFD24;
  padding: 30px 28px 26px 28px;
  max-width: 410px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.cookie-modal h2 {
  font-size: 1.26rem;
  color: #395E91;
  text-align: left;
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #293A4A;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 23px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E5EFFB;
  border-radius: 20px;
  transition: background 0.18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #B4DDFB;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #BDE8FA45;
  transition: transform 0.21s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-btn {
  align-self: flex-end;
  margin-left: 14px;
}
.cookie-modal .close {
  background: none;
  border: none;
  color: #395E91;
  font-size: 1.35rem;
  align-self: flex-end;
  margin-top: -10px;
  margin-bottom: 8px;
  margin-right: -8px;
  cursor: pointer;
  transition: color 0.17s, background 0.18s;
  border-radius: 8px;
  padding: 2px 12px;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #EAE4FA;
  color: #8C48C8;
}

/***** MISC CARDS & TEXT BLOCKS *****/
.text-section {
  background: #F7FAFF;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 1.5px 8px #B9E6F513;
}

/***** RESPONSIVE DESIGN *****/
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 820px; }
  .feature-grid > div, .service-cards > div, .training-cards > div {
    min-width: 180px;
    flex-basis: 44%;
  }
}
@media (max-width: 820px) {
  .feature-grid, .service-cards, .training-cards, .post-grid {
    gap: 14px;
  }
  .footer-menu, .footer-links {
    gap: 10px;
  }
  .content-wrapper { gap: 17px; }
  .section { padding: 28px 7px; margin-bottom: 34px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container { flex-direction: row; gap: 9px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .cta.btn-primary { font-size: 1rem; padding: 10px 20px; }
  .feature-grid, .service-cards, .training-cards, .post-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 18px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card { flex-direction: column; gap: 13px; }
  .cta > h2 { font-size: 1.17rem; }
  .cta.btn-secondary, .cta.btn-primary { padding: 10px 16px; font-size: 1rem; }
  .footer-menu, .footer-links { flex-direction: column; gap: 6px; }
  .cookie-modal .modal-content { padding: 16px 11px; }
  .brand-logo img { height: 29px; }
}
@media (max-width: 480px) {
  html { font-size: 14px; }
  .container { padding: 0 6px; }
  .hero { padding-top: 24px; padding-bottom: 28px; border-radius: 20px; }
  .section { padding: 12px 2px; margin-bottom: 23px; border-radius: 9px; }
  .card, .service-cards > div, .training-cards > div, .post { padding: 10px 7px; border-radius: 12px; }
  .testimonial-card { padding: 10px 7px; }
  .brand-logo img { height: 23px; }
}

/* ===== INTERACTIONS & MICRO-ANIMATIONS ===== */
.cta.btn-primary, .cta.btn-secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.cta.btn-primary:active, .cta.btn-secondary:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: translateY(1.5px) scale(0.98);
}
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}

/***** Z-INDEX LAYERING ***** */
header { z-index: 10; }
.mobile-menu { z-index: 10000; }
.cookie-banner { z-index: 22000; }
.cookie-modal { z-index: 23000; }

/* ===================================== */
/*         SOFT PASTEL PALETTE           */
/* ===================================== */
:root {
  --primary: #0A376F;
  --secondary: #49A2C5;
  --accent: #F3F6FB;
  --soft-blue: #BDE8FA;
  --pastel-violet: #E9E5FD;
  --pastel-pink: #FBE3E8;
  --pastel-yellow: #FFF8D9;
  --soft-mint: #E1FAEF;
  --soft-lilac: #F5EFFF;
  --soft-navy: #395E91;
  --error: #A0405D;
}

/***** End of Dazzle Knowledge CSS *****/