/* ------------------------------------------------- */
/* 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-size: 16px;
  background: #fff;
  color: #222;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}
:focus {
  outline: 2px solid #FDC300;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #aaa; }
:-moz-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }

/* ------------------------------------------------- */
/* BRAND & VIBRANT_ENERGETIC THEME VARIABLES         */
/* ------------------------------------------------- */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #8D6748;
  --color-accent: #E7E2DB;
  --color-electric-blue: #16D8EF;
  --color-pop-yellow: #FDC300;
  --color-fuchsia: #EF3D8D;
  --color-background: #fff;
  --color-card-bg: #F5F7FA;
  --color-black: #191A1D;
  --color-dark: #21252B;
  --color-muted: #687083;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --border-radius: 18px;
  --card-shadow: 0 4px 18px 0 rgba(44,62,80,0.13);
  --transition-default: 0.28s cubic-bezier(.37,.01,.58,1.02);
}

@media (max-width: 480px) {
  html { font-size: 15px; }
}

/* ------------------------------------------------- */
/* GENERIC LAYOUT CONTAINERS                         */
/* ------------------------------------------------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-width: 1240px;
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-background);
  border-radius: var(--border-radius);
}

.section.cta {
  background: var(--color-electric-blue);
  color: #fff;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background: var(--color-card-bg);
  box-shadow: var(--card-shadow);
  padding: 32px 24px;
  transition: transform var(--transition-default), box-shadow var(--transition-default);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  max-width: 390px;
  flex: 1 1 300px;
}
.card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 8px 32px 0 rgba(9,104,210,.12), 0 2px 8px 0 rgba(44,62,80,0.16);
}

.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;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-fuchsia);
  color: var(--color-black);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .card-container {
    flex-direction: column;
    align-items: stretch;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  flex: 1 1 200px;
  min-width: 210px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition-default), transform var(--transition-default);
}
.feature-grid > div:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 32px 0 rgba(249, 176, 2, 0.08), 0 2px 8px 0 rgba(44,62,80,0.12);
}

.case_study_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.case_study_grid > div {
  flex: 1 1 260px;
  min-width: 200px;
  padding: 18px 14px 22px 18px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 0;
  color: var(--color-black);
  transition: box-shadow var(--transition-default), transform var(--transition-default);
}
.case_study_grid > div:hover {
  box-shadow: 0 8px 32px 0 rgba(255,37,141,.12);
  transform: translateY(-8px) scale(1.025);
  color: var(--color-fuchsia);
}

@media (max-width: 900px) {
  .feature-grid, .case_study_grid {
    flex-direction: column;
  }
}

/* ------------------------------------------------- */
/* TYPOGRAPHY                                       */
/* ------------------------------------------------- */
h1, .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--color-pop-yellow);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.13;
  text-shadow: 0 2px 18px rgba(253, 195, 0, 0.08);
}
h2, .hero h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--color-electric-blue);
  margin-bottom: 10px;
  line-height: 1.17;
}
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.285rem;
  color: var(--color-fuchsia);
  margin-bottom: 7px;
}
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--color-primary);
}
.hero h1 {
  color: var(--color-pop-yellow);
}
.hero h2 {
  color: var(--color-fuchsia);
}

body, p, ul, ol, li {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.6em;
}
p {
  line-height: 1.7;
  margin-bottom: 0.9em;
}
ul, ol {
  margin-bottom: 1.2em;
  padding-left: 28px;
}
ul li, ol li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}
cite {
  font-style: normal;
  font-family: var(--font-body);
  color: var(--color-secondary);
  font-size: 0.98rem;
}
blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-fuchsia);
  border-left: 6px solid var(--color-fuchsia);
  padding-left: 24px;
  margin-bottom: 20px;
  font-style: italic;
  background: #fff;
  border-radius: 0 9px 9px 0;
  box-shadow: var(--card-shadow);
}

@media (max-width: 600px) {
  h1, .hero h1 { font-size: 2rem; }
  h2, .hero h2 { font-size: 1.4rem; }
  .content-wrapper { gap: 18px; }
}

/* ------------------------------------------------- */
/* NAVIGATION & HEADER                               */
/* ------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 18px 0 rgba(44,62,80,0.07);
  position: sticky;
  top: 0;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 20px;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-secondary);
  letter-spacing: 0.04em;
  padding: 8px 12px;
  font-size: 1.06rem;
  border-radius: 15px;
  transition: background 0.17s, color 0.14s;
}
header nav a:hover {
  background: var(--color-pop-yellow);
  color: #fff;
}
header nav a.cta.primary, .cta.primary {
  font-family: var(--font-body);
  background: var(--color-fuchsia);
  color: #fff;
  font-weight: 700;
  border-radius: 32px;
  padding: 10px 30px;
  box-shadow: 0 3px 16px 0 rgba(239,61,141, 0.12);
  transition: background var(--transition-default); 
  margin-left: 12px;
}
header nav a.cta.primary:hover, .cta.primary:hover {
  background: var(--color-electric-blue);
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(22,216,239, 0.11);
}
header nav a img {
  height: 38px;
  width: auto;
  margin-right: 12px;
  vertical-align: middle;
}

/* ------------------------------------------------- */
/* MOBILE NAVIGATION                                */
/* ------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: var(--color-fuchsia);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  box-shadow: var(--card-shadow);
  position: absolute;
  right: 18px;
  top: 10px;
  z-index: 110;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: var(--color-electric-blue);
  color: var(--color-pop-yellow);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.94);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.53,.01,.68,.99);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: transparent;
  margin: 27px 0 0 23px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  z-index: 122;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: var(--color-electric-blue);
  color: var(--color-pop-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 52px;
  margin-left: 36px;
  width: 80vw;
  max-width: 340px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  padding: 15px 20px 15px 0;
  border-radius: 14px;
  transition: background 0.14s, color 0.14s;
  background: transparent;
  margin-right: 16px;
  min-width: 220px;
}
.mobile-nav a:hover {
  background: var(--color-fuchsia);
  color: var(--color-pop-yellow);
}
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ------------------------------------------------- */
/* HERO & CTA                                       */
/* ------------------------------------------------- */
.hero {
  background: linear-gradient(88deg, var(--color-electric-blue) 60%, var(--color-fuchsia) 100%);
  color: #fff;
  width: 100%;
  padding: 70px 0 38px 0;
  margin-bottom: 0;
  border-bottom: 5px solid var(--color-pop-yellow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  color: #fff;
  gap: 16px;
}
.hero p {
  color: #fff;
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.hero a.cta.primary {
  margin-top: 10px;
  background: var(--color-pop-yellow);
  color: var(--color-primary);
  box-shadow: 0 2px 8px 0 rgba(253,195,0,0.16);
}
.hero a.cta.primary:hover {
  background: var(--color-fuchsia);
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(239,61,141, 0.22);
}

.section.cta .cta.primary {
  background: #fff;
  color: var(--color-electric-blue);
  border: 2px solid #fff;
  margin-top: 10px;
  margin-bottom: 10px;
}
.section.cta .cta.primary:hover {
  background: var(--color-fuchsia);
  color: #fff;
  border: 2px solid var(--color-fuchsia);
}

/* ------------------------------------------------- */
/* LIST STYLES (ICONS, CHECKS, ETC)                  */
/* ------------------------------------------------- */
ul li, ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  min-height: 22px;
  line-height: 1.5;
  color: var(--color-dark);
}
ul li img, ol li img {
  position: absolute;
  left: 0;
  top: 2px;
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

/* star ratings */
.testimonial-card img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
}

/* ------------------------------------------------- */
/* BUTTONS & CTAs                                    */
/* ------------------------------------------------- */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  border-radius: 32px;
  font-size: 1.04rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 34px;
  letter-spacing: 0.08em;
  border: none;
  background: var(--color-primary);
  color: #fff;
  min-width: 180px;
  box-shadow: var(--card-shadow);
  transition: background .2s, color .18s, transform .13s, box-shadow .27s;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}
.cta.primary:hover, .cta:hover {
  background: var(--color-electric-blue);
  color: var(--color-pop-yellow);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 4px 32px 0 rgba(22,216,239,.21), 0 2px 12px 0 rgba(44,62,80,0.12);
}

/* ------------------------------------------------- */
/* FOOTER                                            */
/* ------------------------------------------------- */
footer {
  width: 100%;
  background: var(--color-black);
  color: #fff;
  font-size: .98rem;
  padding: 38px 0 24px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 20px 0 rgba(44,62,80,0.09);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
  justify-content: center;
}
footer nav a {
  color: var(--color-pop-yellow);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9px;
  transition: background 0.14s, color 0.13s;
}
footer nav a:hover {
  background: var(--color-electric-blue);
  color: #fff;
}
footer div {
  color: var(--color-accent);
  text-align: center;
  font-size: 1.08rem;
  margin-top: 7px;
}

/* ------------------------------------------------- */
/* COOKIE CONSENT BANNER & MODAL                      */
/* ------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--color-electric-blue);
  color: #191A1D;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 26px 20px 24px 20px;
  box-shadow: 0 -4px 24px 0 rgba(44,62,80,0.13);
  border-radius: 18px 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  animation: slideUp 0.62s cubic-bezier(.5,2.4,.7,.98);
}
.cookie-banner p {
  color: #191A1D;
  flex: 1 1 260px;
  margin-bottom: 0;
}
.cookie-banner button,
.cookie-banner .cta {
  margin: 0 8px;
  font-size: 1rem;
  padding: 7px 23px;
  border-radius: 23px;
  font-weight: 700;
  transition: background 0.16s, color 0.18s, transform 0.12s;
}
.cookie-banner .accept {
  background: var(--color-pop-yellow);
  color: #191A1D;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(253,195,0,0.16);
}
.cookie-banner .accept:hover {
  background: var(--color-fuchsia);
  color: #fff;
  transform: scale(1.04);
}
.cookie-banner .decline {
  background: var(--color-fuchsia);
  color: #fff;
  border: none;
}
.cookie-banner .decline:hover {
  background: #fff;
  color: var(--color-fuchsia);
}
.cookie-banner .settings {
  background: #fff;
  color: var(--color-electric-blue);
  border: 2px solid var(--color-electric-blue);
}
.cookie-banner .settings:hover {
  background: var(--color-electric-blue);
  color: #fff;
}

@keyframes slideUp {
  from { transform: translateY(150%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie modal background */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 501;
  background: rgba(44,62,80,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.open {
  pointer-events: all;
  opacity: 1;
}

.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 38px 0 rgba(239,61,141,0.14);
  padding: 32px 34px;
  min-width: 320px;
  max-width: 96vw;
  color: var(--color-dark);
  z-index: 510;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeIn 0.44s cubic-bezier(.5,2.4,.7,.98);
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  margin-bottom: 9px;
  color: var(--color-electric-blue);
}
.cookie-modal label {
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-pop-yellow);
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 7px 22px;
  border-radius: 23px;
  font-weight: 600;
  border: none;
  transition: background 0.16s, color 0.18s, transform 0.12s;
}
.cookie-modal .accept {
  background: var(--color-pop-yellow);
  color: #191A1D;
}
.cookie-modal .accept:hover {
  background: var(--color-fuchsia);
  color: #fff;
}
.cookie-modal .cancel {
  background: #fff;
  color: var(--color-electric-blue);
  border: 2px solid var(--color-electric-blue);
}
.cookie-modal .cancel:hover {
  background: var(--color-electric-blue);
  color: #fff;
}
.cookie-modal .close {
  position: absolute;
  right: 19px;
  top: 14px;
  font-size: 1.66rem;
  color: var(--color-muted);
  background: none;
  border: none;
  border-radius: 50%;
  width: 37px;
  height: 37px;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .close:hover {
  background: var(--color-electric-blue);
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px) scale(.9); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------- */
/* RESPONSIVE                                       */
/* ------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 7vw;
  }
  .hero {
    padding: 36px 0 18px 0;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 2vw;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .section, .hero {
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 0;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 4vw;
  }
  .section, .hero { padding: 19px 2vw; }
  h1, .hero h1 { font-size: 1.25rem; }
  h2, .hero h2 { font-size: 1.035rem; }
}

/* ------------------------------------------------- */
/* ACCESSIBILITY + MICRO-INTERACTIONS                */
/* ------------------------------------------------- */
a, button, .cta {
  transition: box-shadow 0.12s, background 0.18s, color 0.18s, transform 0.15s;
}
a:focus, button:focus, .cta:focus {
  outline: 2.5px solid var(--color-fuchsia);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #fafaff;
}

/* ------------------------------------------------- */
/* SCROLLBAR STYLING                                 */
/* ------------------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-card-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pop-yellow);
  border-radius: 9px;
}

/* ------------------------------------------------- */
/* OVERRIDES & UTILITIES                             */
/* ------------------------------------------------- */
.text-section, .content-wrapper > .text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 8px;
}

.content-wrapper > a:not(.cta),
.content-wrapper > a:not(.cta):not(.primary) {
  margin-top: 10px;
  color: var(--color-fuchsia);
  font-weight: 600;
  border-bottom: 2px solid var(--color-fuchsia);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.content-wrapper > a:not(.cta):hover {
  color: var(--color-electric-blue);
  border-color: var(--color-electric-blue);
}

.section > .container, .section > .content-wrapper {
  padding: 0;
}

/* ------------------------------------------------- */
/* PRINT FRIENDLY                                    */
/* ------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container { padding: 0; }
  .section, .card, .feature-grid > div { box-shadow: none; border-radius: 0; }
}
