/* === CSS RESET & NORMALIZE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFD;
  color: #1A2432;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: outside;
  padding-left: 1.4em;
  margin-bottom: 1.3em;
}
a {
  color: #3DA3B6;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.54,.04,.39,1.1),box-shadow .2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #24e0c7;
  text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #1A2432;
}
h1 { font-size: 2.9rem; margin-bottom: 16px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

p, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  color: #1A2432;
  margin-bottom: 14px;
  line-height: 1.7;
}
blockquote {
  font-style: italic;
  color: #1A2432;
  border-left: 4px solid #3DA3B6;
  padding-left: 18px;
  margin-bottom: 8px;
  background: #E8F0F8;
}

strong { font-weight: 700; }

/* === Brand Vibrant Energetic Color Palette === */
:root {
  --color-primary: #1A2432;
  --color-secondary: #3DA3B6;
  --color-accent: #E8F0F8;
  --color-electric-blue: #24e0c7;
  --color-electric-violet: #7B61FF;
  --color-warm-orange: #FFB247;
  --color-danger: #ed3852;
  --color-background: #F8FAFD;
  --shadow-main: 0 4px 32px rgba(61,163,182,0.09);
  --shadow-card: 0 2px 10px rgba(61,163,182,0.13);
}

/* === LAYOUT CLASSES === */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  max-width: 770px;
  margin: 0 auto;
  align-items: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 26px;
  transition: box-shadow .2s,transform .2s;
  margin-bottom: 20px;
  position: relative;
  min-width: 220px;
  flex: 1 1 240px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(36,224,199,0.12);
  transform: translateY(-3px) scale(1.03);
  z-index: 3;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(27,36,50,.09);
  position: relative;
  transition: box-shadow .2s,transform .14s;
  border-left: 7px solid var(--color-electric-blue);
  max-width: 400px;
  min-width: 240px;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(63,212,242,0.12);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(110deg, #E8F0F8 60%, #24e0c7 100%);
  padding: 52px 0 52px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 32px rgba(123,97,255,0.04);
  min-height: 330px;
  display: flex;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero p {
  color: #222;
  font-size: 1.3rem;
  margin-bottom: 32px;
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 3px 24px rgba(123,97,255,0.05);
  position: sticky;
  top: 0;
  z-index: 25;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.main-nav img {
  height: 36px;
  margin-right: 20px;
  margin-bottom: 0;
}
.main-nav a {
  color: var(--color-primary);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  position: relative;
  text-shadow: none;
}
.main-nav a.cta {
  background: linear-gradient(90deg, var(--color-electric-blue) 70%, var(--color-primary));
  color: #fff;
  font-weight: bold;
  padding: 7px 22px;
  border-radius: 22px;
  margin-left: 6px;
  box-shadow: 0 1px 8px rgba(36,224,199,0.12);
  letter-spacing: 0.04em;
  border: none;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: linear-gradient(90deg, #7B61FF 60%, #24e0c7 100%);
  color: #fff;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8F0F8;
  color: var(--color-secondary);
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-electric-blue);
  color: #fff;
  border: none;
  padding: 9px 14px;
  font-size: 2.2rem;
  border-radius: 10px;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 110;
  transition: background .18s;
  box-shadow: 0 2px 10px rgba(36,224,199,0.14);
}
.mobile-menu-toggle:focus {
  outline: 2px solid #7B61FF;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #1A2432;
  z-index: 1000;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.54,.04,.39,1.1), transform .29s cubic-bezier(.74,.12,.12,.93);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  margin: 22px 26px 0 0;
  padding: 4px 8px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #24e0c7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 25px;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
  transition: color .12s, background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #24e0c7;
  background: transparent;
  text-decoration: underline;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 12px;
  }
  .container {
    max-width: 99vw;
  }
}

@media (max-width: 890px) {
  .main-nav a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO RESPONSIVE === */
@media (max-width:750px) {
  .hero {
    padding: 34px 0 34px 0;
    min-height: 170px;
  }
  .hero h1 {
    font-size: 2.0rem;
  }
  .hero p {
    font-size: 1.06rem;
  }
}

/* === FLEXIBLE GRID COMPONENTS === */
.feature-grid, .service-list, .benefit-grid, .industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-list > div, .benefit-grid > div, .industry-list > div {
  flex: 1 1 235px;
  background: #fff;
  padding: 24px 18px 26px 18px;
  border-radius: 15px;
  box-shadow: 0 1px 16px rgba(61,163,182,.11);
  min-width: 180px;
  transition: box-shadow .2s,transform .14s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.feature-grid > div:hover, .service-list > div:hover, .benefit-grid > div:hover, .industry-list > div:hover {
  box-shadow: 0 6px 28px rgba(123,97,255,0.11);
  transform: translateY(-2.5px) scale(1.025);
  z-index: 4;
}

.feature-grid img, .service-list img, .industry-list img {
  height: 46px;
  width: 46px;
  margin-bottom: 14px;
  background: #E8F0F8;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(36,224,199,.08);
  padding: 7px;
}

/* === TESTIMONIALS === */
.testimonials {
  background: #E8F0F8;
  margin-bottom: 40px;
  padding: 40px 0 20px 0;
}
.testimonial-row {
  margin-bottom: 25px;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  color: #1A2432;
  font-size: 1.1rem;
  margin-bottom: 6px;
  padding: 0;
}
.testimonial-card .byline {
  color: #3DA3B6;
  font-size: 0.98rem;
  font-weight: 800;
  margin-left: 6px;
}
/* Ensure strong contrast on testimonials */
.testimonial-card {
  background: #fff;
  color: #1A2432;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 15px;
}
.logo-strip img {
  height: 36px;
  width: auto;
  filter: none;
}

.client-industry-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.client-industry-list li {
  background: #24e0c7;
  color: #fff;
  border-radius: 6px;
  padding: 6px 17px;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(36,224,199,.11);
}

/* === BUTTON CTA === */
.cta {
  background: linear-gradient(90deg,#24e0c7 0%,#7B61FF 99%);
  color: #fff;
  font-weight: bold;
  padding: 13px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  letter-spacing: .05em;
  box-shadow: 0 2px 12px rgba(61,163,182,0.13);
  border: none;
  outline: none;
  transition: background .2s,box-shadow .21s,transform .17s;
  margin-top: 12px;
  display: inline-block;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg,#7B61FF 40%,#FFB247 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(123,97,255,0.18);
  transform: translateY(-2.5px) scale(1.05);
  text-decoration: none;
}

/* === FOOTER === */
footer {
  background: #1A2432;
  color: #fff;
  padding: 42px 0 6px 0;
  margin-top: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.0rem;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #3DA3B6;
  transition: color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-electric-blue);
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e8f0f8;
  gap: 3px;
  text-align: center;
}

/* === RESOURCE PAGE === */
.resource-list {
  margin-left: 0px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.resource-list li a {
  font-weight: bold;
  color: #7B61FF;
}
.resource-list li a:hover, .resource-list li a:focus {
  color: #24e0c7;
  text-decoration: underline;
}

/* === ARTICLE CARD (Insights) === */
article {
  background: #F8FAFD;
  border-radius: 15px;
  box-shadow: 0 1px 8px rgba(123,97,255,0.07);
  padding: 18px 22px;
  margin-bottom: 18px;
  transition: box-shadow .16s,transform .13s;
}
article:hover {
  box-shadow: 0 4px 22px rgba(123,97,255,0.17);
  transform: translateY(-1px) scale(1.01);
}

/* === CONTACT DETAILS === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 1.08rem;
}
.contact-details img {
  height: 26px;
  width: 26px;
}

/* === GENERAL LIST STYLES === */
ul li, ol li {
  margin-bottom: 8px;
}
.text-section ul {
  margin-bottom: 24px;
  margin-top: 5px;
}
.text-section ul li strong {
  color: #3DA3B6;
  font-weight: 900;
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1A2432;
  color: #fff;
  padding: 20px 20px 15px 20px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  box-shadow: 0 -2px 18px rgba(36,224,199,0.10);
  animation: bannerfadein .6s cubic-bezier(.42,1.02,.15,1.05);
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #E8F0F8;
}
.cookie-button {
  padding: 9px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 7px;
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, color .14s,box-shadow .15s;
  box-shadow: 0 1px 6px rgba(123,97,255,0.10);
}
.cookie-button.accept {
  background: linear-gradient(90deg,#24e0c7 0%,#7B61FF 99%);
  color: #fff;
}
.cookie-button.accept:hover { background: #24e0c7; }
.cookie-button.reject {
  background: #fff;
  color: var(--color-danger);
}
.cookie-button.reject:hover {
  background: #FFF4F4;
  color: #de1a37;
}
.cookie-button.settings {
  background: #E8F0F8;
  color: #1A2432;
}
.cookie-button.settings:hover {
  background: #d8eaf8;
  color: #222;
}

@keyframes bannerfadein {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26,36,50,0.73);
  display: flex; align-items: center; justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 21px;
  padding: 34px 30px 28px 30px;
  box-shadow: 0 8px 44px rgba(123,97,255,0.19);
  min-width: 320px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalpop .4s cubic-bezier(.66,1.02,.17,1.14);
}
.cookie-modal h2 {
  color: #3DA3B6;
  font-size: 1.41rem;
  margin-bottom: 19px;
}
.cookie-modal ul {
  margin-bottom: 28px;
  margin-left: 2px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.02rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
}
.toggle-switch {
  width: 36px;
  height: 20px;
  border-radius: 13px;
  background: #E8F0F8;
  position: relative;
  margin-left: 7px;
  margin-right: 8px;
  transition: background .15s;
}
.toggle-switch input[type=checkbox] {
  display: none;
}
.toggle-switch .slider {
  position: absolute;
  top: 2.1px;
  left: 2.1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #7B61FF;
  transition: left .18s, background .13s;
}
.toggle-switch input[type=checkbox]:checked + .slider {
  left: 18px;
  background: #24e0c7;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 5px;
}

@keyframes modalpop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* === HELPERS === */
.hide { display: none!important; }

/* === RESPONSIVE FLEX LAYOUTS (Mobile-first) === */
@media (max-width: 1200px) {
  .feature-grid, .service-list, .benefit-grid, .industry-list, .testimonial-row, .logo-strip {
    gap: 15px;
  }
  .feature-grid > div, .service-list > div,
  .benefit-grid > div, .industry-list > div {
    min-width: 160px;
  }
  .testimonial-card {
    min-width: 170px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .benefit-grid, .industry-list {
    gap: 11px;
  }
  .feature-grid > div, .service-list > div, .benefit-grid > div, .industry-list > div {
    flex: 1 1 70vw;
    min-width: 90vw;
  }
  .testimonial-row {
    gap: 13px;
  }
}
@media (max-width:650px) {
  .hero { padding: 24px 0 19px 0; }
  .container { padding: 0 7px; }
  .feature-grid,.service-list,.benefit-grid,.industry-list, .testimonial-row,.logo-strip {
    flex-direction: column;
    gap: 13px;
  }
  .feature-grid > div, .service-list > div,.benefit-grid > div,.industry-list > div {
    width: 99%;
    min-width: 0;
    margin-right: 0;
    margin-bottom: 14px;
    padding: 16px 10px;
  }
  .testimonial-card { min-width: 0; }
  .logo-strip img { height: 30px; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .testimonial-row, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    gap: 7px;
    font-size: 0.97rem;
  }
}
/* === ACCESSIBILITY: FOCUS STYLES === */
a:focus, button:focus, .cta:focus, .cookie-button:focus {
  outline: 2px solid #7B61FF;
  outline-offset: 1.5px;
  background: #E8F0F8;
}

/* === MICRO-INTERACTIONS === */
.card, .cta, .feature-grid > div, .testimonial-card, .cookie-button, article {
  transition: box-shadow .2s, background .18s, transform .14s;
}

/* === Z-INDEX SAFE LAYERING === */
header { z-index: 25; }
.mobile-menu { z-index: 1000; }
.cookie-consent-banner { z-index: 2000; }
.cookie-modal-overlay { z-index: 3000; }

/* === PRINT STYLES (hide navigation etc) === */
@media print {
  header, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay, footer { display: none !important; }
  body { background: #fff; }
}
