/* ==== CSS RESET & NORMALIZATION ==== */
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;
}
body {
  line-height: 1.15;
  background: #EEF2F7;
  color: #101221;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* ==== ROOT VARIABLES BASED ON BRAND ====*/
:root {
  --color-primary: #1B3556; /* navy */
  --color-secondary: #33A2B5; /* cyan blue */
  --color-accent: #EEF2F7; /* light bg */
  --color-electric1: #FF595E; /* vibrant coral */
  --color-electric2: #FFCA3A; /* yellow */
  --color-electric3: #1982C4; /* electric blue */
  --color-electric4: #6A4C93; /* purple */
  --color-neutral: #101221;  /* almost black */
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --border-radius: 14px;
  --transition-fast: 0.15s cubic-bezier(.6,.1,.67,1.29);
  --shadow-card: 0 4px 24px 0 rgba(31,80,186,0.12), 0 1.5px 4.5px 0 rgba(27,53,86,.08);
  --shadow-btn: 0 2px 12px 0 rgba(255,89,94,0.12);
}

/* ==== GLOBAL CONTAINER & SPACING SYSTEM ==== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.text-section {
  max-width: 720px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px 24px;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
  min-width: 270px;
  flex: 1 1 270px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(255,89,94,0.16);
  transform: translateY(-4px) scale(1.015);
  z-index: 2;
}
.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;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border-left: 8px solid var(--color-electric3);
  min-width: 240px;
  max-width: 480px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #101221;
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2rem;
  color: var(--color-electric1);
  margin-bottom: 6px;
}
h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: var(--color-primary);
}
p, ul, ol, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #25314A;
  line-height: 1.6;
  font-weight: 400;
}
.content-wrapper > h1, .content-wrapper > h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

ul, ol {
  padding-left: 0;
  margin-bottom: 8px;
}
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img, ol li img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

strong, b {
  font-weight: 700;
}

/* ==== BUTTONS ==== */
.cta-btn, .button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 0.9em 2em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--color-electric1), var(--color-electric2), var(--color-electric3)); /* for extra vibrancy on hover */
  background-size: 200%;
  background-position: left;
  color: #fff;
  border: none;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  margin-right: 12px;
}
.cta-btn:hover, .button:hover, button:hover, .cookie-btn:hover {
  background-position: right;
  transform: scale(1.05) rotate(-1.5deg);
  box-shadow: 0 6px 28px 0 rgba(255,202,58,0.14);
}
.cta-btn:focus, .button:focus {
  outline: 2px solid var(--color-electric1);
}
.button-outline, .cookie-btn-outline {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 12px 0 rgba(27,53,86,0.10);
  border: 2px solid var(--color-primary);
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.button-outline:hover, .cookie-btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-electric1);
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2.5px 18px 0 rgba(51,162,181,0.13);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 32px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 5px 0;
  transition: color 0.15s, box-shadow 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-electric1);
}
.main-nav a.active {
  font-weight: 900;
  color: var(--color-electric3);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-electric1);
  margin-left: 14px;
  transition: color 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-electric2);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #25314Af2;
  z-index: 202;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,1.4,.39,.92);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: all;
}
.mobile-menu-close {
  margin-top: 22px;
  margin-right: 24px;
  background: none;
  border: none;
  font-size: 2.7rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  color: var(--color-electric2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 50px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  background: none;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.2s, color 0.17s;
  min-width: 190px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric1);
  color: #fff;
}

/* ==== HERO/SECTION STYLE ==== */
main {
  min-height: 65vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
section .container {
  /* No override, already styled above */
}

/* ==== SERVICE & FEATURE LISTS ==== */
.service-list, .solution-cards, .case-preview-cards, .trust-signs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 18px;
}
.service-list > div, .solution-cards > div, .case-preview-cards > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  transition: transform 0.16s, box-shadow 0.16s;
  margin-bottom: 20px;
  position: relative;
}
.service-list > div:hover, .solution-cards > div:hover, .case-preview-cards > div:hover {
  box-shadow: 0 8px 38px 0 rgba(51,162,181,0.22);
  transform: scale(1.035) translateY(-3px);
  z-index: 3;
}
.trust-signs span {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 18px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  box-shadow: 0 2px 10px rgba(27,53,86,0.06);
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  box-shadow: 0 8px 24px 0 rgba(51,162,181,0.10);
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
  border-left: 8px solid var(--color-electric1);
  background: #fff;
  color: #101221;
  font-style: italic;
}
.testimonial-card p {
  color: #25293d;
  font-size: 1.15rem;
  font-weight: 500;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1em;
  color: var(--color-electric3);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 10px 48px 0 rgba(255,202,58,0.18);
  transform: scale(1.025);
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: #fff;
  padding-top: 44px;
  padding-bottom: 28px;
  position: relative;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2.5px 18px rgba(51,162,181,0.13);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo {
  flex: 1 1 120px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 120px;
}
.footer-nav a {
  color: #eef2f7;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 3px 0;
  transition: color 0.15s, background 0.15s;
}
.footer-nav a:hover {
  color: var(--color-electric2);
  text-decoration: underline;
}
.footer-contact {
  flex: 2 1 280px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-body);
  font-size: .95em;
  color: #e4effa;
}
.footer-contact img {
  width: 16px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.84;
}

/* ==== COOKIE CONSENT BANNER ==== */
#cookie-banner, .cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 22px 24px 22px 24px;
  box-shadow: 0 -2px 32px rgba(27,53,86,0.17);
  gap: 22px;
  animation: slideUp 600ms cubic-bezier(.77,0,.17,1);
  transition: transform 480ms cubic-bezier(.77,0,.17,1);
}
@keyframes slideUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.cookie-banner__text {
  max-width: 670px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #fff;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-btn, .cookie-btn-outline {
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 24px;
  padding: 0.6em 1.7em;
  font-size: 1rem;
  border: none;
  background: var(--color-electric1);
  color: #fff;
  margin-left: 0;
  box-shadow: 0 2.5px 12px 0 rgba(255,89,94,0.13);
  cursor: pointer;
  transition: background 0.18s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-electric3);
  color: #fff;
  transform: scale(1.055) rotate(-1.25deg);
}
.cookie-btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Cookie modal */
#cookie-modal, .cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(27,53,86,.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.35s cubic-bezier(.7,1.4,.39,.92);
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 56px 0 rgba(51,162,181,0.18);
  min-width: 310px;
  max-width: 540px;
  padding: 38px 32px 34px 32px;
  font-family: var(--font-body);
  color: var(--color-neutral);
  font-size: 1.11rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal__header {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.1em;
  margin-bottom: 12px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: var(--color-electric1);
  font-size: 1.9em;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-accent);
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 1rem;
}
.cookie-category--essential {
  font-weight: 600;
  color: var(--color-electric4);
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 18px;
  background: var(--color-electric3);
  position: relative;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-toggle:checked {
  background: var(--color-electric1);
}
.cookie-toggle::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 3.5px 0 rgba(0,0,0,0.12);
  transition: background 0.2s;
}
.cookie-toggle::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 3.5px 0 rgba(0,0,0,0.12);
  transition: background 0.2s;
}

/* ==== UTILITIES ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.no-list { list-style: none; }
.hide { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }

/* ==== ANIMATIONS ==== */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .button, .cookie-btn {
    transition: all 0.17s cubic-bezier(.7,1.4,.39,.92);
  }
  .card, .testimonial-card, .service-list > div, .case-preview-cards > div, .solution-cards > div {
    transition: box-shadow 0.18s, transform 0.16s;
  }
  .mobile-menu {
    transition: transform 0.32s cubic-bezier(.77,0,.17,1);
  }
}

/* ==== RESPONSIVE BREAKPOINTS (Mobile-first) ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-nav {
    flex-direction: row;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  header .container {
    gap: 12px;
  }
  /* Main nav -> hide on mobile */
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  /* Section spacing reduce on mobile */
  section {
    margin-bottom: 36px;
    padding: 24px 0 24px 0;
  }
  .content-wrapper, .text-section {
    gap: 14px;
    max-width: 100%;
  }
  .service-list, .solution-cards, .case-preview-cards, .trust-signs {
    flex-direction: column;
    gap: 14px;
  }
  .service-list > div, .solution-cards > div, .case-preview-cards > div {
    min-width: unset;
    max-width: 100%;
    margin-bottom: 14px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 19px 14px;
  }
  .footer-logo, .footer-contact {
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Target even smaller devices */
@media (max-width: 480px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }
  .container { padding: 0 5px; }
  .cta-btn, .button, button, .cookie-btn {
    font-size: 0.92rem;
    padding: 0.7em 1.1em;
    min-width: 112px;
  }
  .cookie-banner__text {
    font-size: .93rem;
  }
}

/* ==== MISC ==== */
::-webkit-scrollbar {
  width: 7px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
  opacity: 0.6;
}

/* ===== ENFORCE NO GRID ===== */
/* (ensure NOT using any grid props) */