/* RESET & BASE =================================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #2C3F54;
  background-color: #F9ECE2;
  font-size: 16px;
  line-height: 1.72;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2184e1;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.68,-0.55,.27,1.55);
}
a:hover,
a:focus {
  color: #E4572E;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}
strong, b {
  font-weight: bold;
}
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* TYPOGRAPHY =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #223147;
}
h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #A6BCD5 15%, #E4572E 95%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  color: #223147;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.35rem;
  color: #315D87;
}
p, .text-section p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #2C3F54;
}

/* SECTIONS & LAYOUT =================================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 8px 32px rgba(79, 120, 180, 0.10);
  transition: box-shadow 0.2s;
}
section:last-child {
  margin-bottom: 0;
}
.hero {
  background: #A6BCD5;
  color: #2C3F54;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(47,57,100,0.07);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1, .hero h2, .hero p {
  color: #2C3F54;
  text-shadow: 0 1.5px 0 #FFFFFF33;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 180px;
    padding: 42px 10px 34px 10px;
  }
  section {
    padding: 32px 8px;
    margin-bottom: 48px;
  }
}

/* FLEXBOX LAYOUTS ==================================== */
.features, .feature-grid, .stats, .footer-nav, .footer-legal, .testimonial-card, .solution-overview ul, .text-image-section, .services-list ul, .benefits ul, .why-consulting ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.feature-grid {
  justify-content: flex-start;
  flex-direction: row;
}
.feature {
  background: #FDF6EE;
  padding: 28px 22px;
  border-radius: 28px;
  min-width: 220px;
  box-shadow: 0 2px 16px rgba(164,188,213,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: transform 0.16s, box-shadow 0.18s;
  position: relative;
}
.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  transition: transform 0.24s;
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(47, 183, 224, 0.17);
  transform: translateY(-8px) scale(1.04) rotate(-2deg);
}
.feature:hover img {
  transform: scale(1.12) rotate(15deg);
}
.stats {
  width: 100%;
  gap: 32px;
  margin-top: 10px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #A6BCD5;
  padding: 27px 17px 17px 17px;
  border-radius: 21px;
  box-shadow: 0 4px 24px rgba(160,182,213,0.16);
  min-width: 110px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 20px;
}
.stat-number {
  font-size: 2.1rem;
  color: #E4572E;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.stat-label {
  font-size: 1rem;
  color: #2C3F54;
}

.text-section {
  margin-bottom: 16px;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
  .stats {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* CARDS & TESTIMONIALS ====================== */
.testimonials {
  background: #FFF;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 20px 24px;
  background: #FAFAFA;
  border-radius: 21px;
  box-shadow: 0 2px 16px rgba(78,78,119,0.08);
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.testimonial-card:hover,
.testimonial-card:focus {
  box-shadow: 0 8px 32px rgba(79, 120, 180, 0.12);
  transform: scale(1.025) rotate(-0.5deg);
}
.testimonial-card p {
  flex: 1 1 60%;
  color: #1C2030;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card span {
  color: #E4572E;
  font-weight: bold;
  font-size: 1em;
}

/* BUTTONS & LINKS ======================== */
.cta-button {
  background: #E4572E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  border: none;
  border-radius: 32px;
  padding: 16px 34px;
  box-shadow: 0 2px 12px #f7b58b33;
  cursor: pointer;
  margin: 16px 0 0 0;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #D13319;
  color: #fff;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 28px #e4572e33;
}

/* NAVIGATION ================================== */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44,63,84,0.11);
  position: sticky;
  top: 0;
  z-index: 101;
  padding: 0 0 8px;
}
header .container {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #2C3F54;
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
  transition: color 0.16s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  background: #E4572E;
  width: 0%;
  transition: width 0.19s cubic-bezier(.61,-0.04,.31,1);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.mobile-menu-toggle {
  background: #E4572E;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
  cursor: pointer;
  margin-left: 8px;
  box-shadow: 0 4px 12px #e4572e33;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #D13319;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #A6BCD5;
  z-index: 2222;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.59,0,.44,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px 24px 20px;
  box-shadow: -8px 0 26px #2C3F5433;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #E4572E;
  font-size: 2.2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin-left: auto;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px #e4572e33;
  cursor: pointer;
  transition: background .17s, color .16s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #E4572E;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2C3F54;
  background: #fff;
  border-radius: 22px;
  padding: 14px 20px;
  font-size: 1.18rem;
  transition: background 0.15s, color 0.16s;
  box-shadow: 0 2px 10px #babbe359;
  margin-bottom: 10px;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #E4572E;
  color: #fff;
}
/* End nav/mobile transitions */

/* FOOTER =================================== */
footer {
  background: #2C3F54;
  color: #fff;
  padding: 36px 0 16px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -6px 28px #22314712;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #FFF !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  opacity: 0.92;
  padding: 8px 0;
  font-size: 1rem;
  text-shadow: 0 0.5px 1px #3854702e;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #FFB760 !important;
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.98rem;
  opacity: 0.86;
  align-items: center;
}
.footer-legal a {
  color: #FFF;
  text-decoration: underline;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-legal a:hover {
  color: #E4572E;
}

/* MAIN CONTENT CARDS ======================== */
.card-container, .solution-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FDF6EE;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(79,120,180,0.09);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 10px 30px #a6bcd519;
  transform: scale(1.03) rotate(-1deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 21px 22px;
}

/* CONTENT/INFO PATTERNS =================== */
ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: 4px;
}

/* CTA, CONFIRMATION & SNIPPETS ============ */
.main-cta, .cta, .confirmation {
  background: #E4572E;
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 32px #f7b58b15;
  padding: 42px 16px;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.main-cta h2, .cta h2, .confirmation h1 {
  color: #fff;
  font-size: 2.1rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px #BC532022;
}
.main-cta p, .cta p, .confirmation p {
  color: #fff;
  margin-bottom: 13px;
}
.contact-snippet, .contact-information {
  background: #fff;
  color: #2C3F54;
  padding: 16px 18px;
  border-radius: 18px;
  margin: 21px auto 4px auto;
  display: inline-block;
  font-size: 1rem;
  box-shadow: 0 2px 14px #babcdd29;
}
.contact-snippet a, .contact-information a {
  color: #E4572E;
  font-weight: bold;
}
.next-steps-info ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 16px 0;
}

/* LEGAL PAGE ============ */
.legal {
  background: #FAFAFA;
  color: #2C3F54;
  border-radius: 24px;
  box-shadow: 0 2px 16px #a6bcd511;
}
.legal h1, .legal h2 {
  color: #223147;
}
.legal .text-section h2 {
  font-size: 1.18rem;
  margin-top: 18px;
}

/* RESPONSIVENESS ========================== */
@media (max-width: 780px) {
  .container {
    max-width: 98vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .stats, .footer-nav, .testimonials {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px;
  }
  .stat-item {
    align-items: flex-start;
    min-width: 95px;
    padding: 15px 10px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.11rem;
  }
  .cta-button { font-size: 1rem; padding: 12px 20px; }
  section, .main-cta, .cta, .confirmation {
    padding: 22px 5px;
  }
}

/* MICRO-ANIMATIONS ============================ */
section, .card, .feature, .cta, .main-cta {
  animation: fadeInUp 0.7s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}
.cta-button, .mobile-menu-toggle, .mobile-nav a, .main-nav a {
  transition: all 0.17s cubic-bezier(.57,.22,.39,.9);
}

/* FOCUS VISIBLE HIGHLIGHTS  */
:focus {
  outline: 2.5px dashed #E4572E;
  outline-offset: 2px;
}

/* -------- COOKIE BANNER & POPUP ----------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100vw;
  background: #2C3F54;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 14px 22px 14px;
  box-shadow: 0 -6px 28px #22314727;
  border-radius: 28px 28px 0 0;
  font-size: 1rem;
  animation: slideUpCookie 0.6s cubic-bezier(.61,-0.28,.57,1.26);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes slideUpCookie {
  from { transform: translateY(70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 10px;
  background: #E4572E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border: none;
  border-radius: 18px;
  padding: 10px 23px;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.18s, color 0.19s, box-shadow 0.13s;
  box-shadow: 0 2px 10px #e4572e19;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #D13319;
  color: #fff;
}
.cookie-settings-btn {
  background: #fff !important;
  color: #E4572E !important;
  border: 2px solid #E4572E;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #FFE1D4 !important;
  color: #2C3F54 !important;
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 99999;
  background: rgba(36,50,84,.62);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.61,-0.01,.31,1.28);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  color: #2C3F54;
  border-radius: 18px;
  box-shadow: 0 12px 40px #22314755;
  padding: 30px 16px 24px 16px;
  min-width: 330px;
  min-height: 210px;
  max-width: 96vw;
  position: relative;
  animation: cookiePopup 0.36s cubic-bezier(.7,.12,.24,.93);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@keyframes cookiePopup {
  from { transform: scale(.82) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #2C3F54;
  margin-bottom: 4px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  margin-bottom: 10px;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  background: #A6BCD5;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.12s;
  position: relative;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-switch span {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #E4572E;
  border-radius: 50%;
  transition: transform 0.18s, background 0.16s;
  transform: translateX(4px);
}
.cookie-switch input:checked + span {
  background: #34D364;
  transform: translateX(18px);
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #E4572E;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px #c5726e14;
  transition: background 0.17s, color 0.19s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus { background: #D13319; }

/* --- Extra Playful Details (Animated Dots / Floating)--- */
section.hero:after {
  content: "";
  display: block;
  position: absolute;
  right: 20vw;
  bottom: 20px;
  width: 110px;
  height: 110px;
  background: url('../assets/dots-playful.svg') repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  animation: floatDots 9s infinite linear alternate;
}
@keyframes floatDots {
  0%    { transform: translateY(0) scale(1) rotate(0deg); }
  60%   { transform: translateY(-11px) scale(1.03) rotate(-18deg); }
  100%  { transform: translateY(13px) scale(1.08) rotate(8deg); }
}

/* -------- Misc Tweaks --------- */
address {
  font-style: normal;
  color: #315D87;
  background: #f1f6fa;
  border-radius: 8px;
  padding: 7px 13px;
  display: inline-block;
  margin-bottom: 13px;
}

/* COLORFUL, FUN FONTS = Playful_Dynamic ================== */
body, .main-nav a, .mobile-nav a, .cta-button, .stat-label {
  letter-spacing: 0.005em;
}

h1, h2, h3, h4, .stat-number, .cta-button, .feature h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
}

/* Hide scroll X on mobile menu open */
body.mobilemenu-open {
  overflow: hidden;
}

/* ----------- END CSS ------------ */