/* -------------------------- 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;
}
body {
  line-height: 1.5;
  color: #1c3652;
  background-color: #F4F6F8;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}

/* -------------------- BRAND COLORS & VIBRANT ENERGETIC STYLE ------------------- */
:root {
  --color-primary: #1c3652;
  --color-primary-dark: #19314a;
  --color-secondary: #F4F6F8;
  --color-accent: #D99E42;
  --color-accent-bright: #ffd875;
  --color-electric-blue: #00caff;
  --color-electric-pink: #ff38a6;
  --color-bg-card: #fff;
  --shadow-main: 0 4px 24px 0 rgba(34,68,134,0.10), 0 2px 4px 0 rgba(34,68,134,0.04);
  --radius-card: 18px;
}

/* -------------------------------- TYPOGRAPHY --------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
@media (min-width: 512px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.35rem; }
}
p, li, address {
  font-size: 1.06rem;
  color: #1c3652;
  letter-spacing: 0.001em;
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}

/* -------------------------- LAYOUT HELPERS & CONTAINERS ----------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px 0 rgba(34,68,134,0.16), 0 4px 8px 0 rgba(34,68,134,0.06);
  z-index: 1;
}
.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: 16px;
  box-shadow: var(--shadow-main);
  background: #ffffff;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-accent);
  transition: box-shadow 0.2s, border-color 0.25s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px 0 rgba(34,68,134,0.18), 0 6px 12px rgba(217,158,66,0.11);
  border-color: var(--color-electric-blue);
  cursor: pointer;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------- HEADER ----------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(36,66,98,0.06);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 18px;
}
header a img {
  height: 42px;
  min-width: 120px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 0 8px 0;
  border-bottom: 2.5px solid transparent;
  letter-spacing: 0.02em;
  transition: color 0.2s, border-bottom 0.17s;
}
header nav a:hover, header nav a.active {
  color: var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
}
header .button.primary {
  margin-left: 24px;
  display: inline-block;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  padding: 3px 8px;
  margin-left: 20px;
  line-height: 1;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-accent);
}

/* ------------------------------ HERO SECTION ---------------------------------- */
.hero {
  background: linear-gradient(90deg, #D99E42 12%, #ff38a6 65%, #00caff 100%);
  background-size: 300% 300%;
  animation: hero-bg-move 12s ease infinite;
  border-radius: 0 0 60px 60px;
  min-height: 240px;
  margin-bottom: 48px;
}
@keyframes hero-bg-move {
  0% {background-position:0% 51%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 51%;}
}
.hero .container {
  min-height: 320px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 18px 55px 18px;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 8px #1c3652AA);
}
.hero p {
  color: #F4F6F8;
  font-size: 1.20rem;
  font-weight: 500;
  margin-bottom: 32px;
  text-shadow: 0 1px 4px #1c365211;
}
.hero .button {
  background: var(--color-electric-blue);
  color: #fff;
  border-radius: 28px;
  font-size: 1.14rem;
  padding: 13px 36px;
  margin-top: 20px;
  box-shadow: 0 6px 24px 0 rgba(0,202,255,0.17), 0 2px 4px 0 rgba(34,68,134,0.05);
  letter-spacing: 0.05em;
  border: none;
  font-weight: 700;
}

/* --------------------------------- BUTTONS ------------------------------------ */
.button, .button.primary, .button.accent {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  letter-spacing: 0.03em;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.13s;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 4px 16px 0 rgba(34,68,134,0.10);
  outline: none;
}
.button.primary {
  background: var(--color-primary);
  color: #fff;
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-accent);
  color: #1c3652;
  transform: translateY(-2px) scale(1.03);
}
.button.accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 16px 0 rgba(217,158,66,0.13);
}
.button.accent:hover, .button.accent:focus {
  background: var(--color-electric-pink);
  color: #fff;
  transform: skew(-2deg, 2deg) scale(1.04);
}
.button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(34,68,134,.18);
}

/* --------------------------------- CARDS & CTA -------------------------------- */
.card, .content-wrapper {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-main);
}

/* ----------------------------------- LISTS ------------------------------------ */
ul, ol {
  margin-left: 0;
  margin-bottom: 18px;
  padding-left: 0;
  font-size: 1.07rem;
}
ul li, ol li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 22px;
  color: #1c3652;
}
ul li:before {
  content: '';
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-electric-blue));
  border-radius: 50%;
  width: 9px;
  height: 9px;
  margin-right: 13px;
  position: absolute;
  left: 0;
  top: 6px;
}
ol li {
  counter-increment: step;
  font-weight: 500;
  color: var(--color-primary);
}
ol {
  counter-reset: step;
}
ol li:before {
  content: counter(step) ". ";
  color: var(--color-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* ---------------------------- CONTENT SECTION SPACING ------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* --------------- TESTIMONIALS / REVIEWS CONSISTENT CONTRAST ------------------- */
.testimonial-card {
  background: #fff !important;
  color: #1c3652 !important;
}
.testimonial-card p {
  font-size: 1.14rem;
  margin-bottom: 0;
  color: #1c3652;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* ------------------------------- FOOTER DESIGN -------------------------------- */
footer {
  width: 100%;
  background: #fff;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -2px 18px 0 rgba(34,68,134,0.05);
  padding: 38px 0 0 0;
  margin-top: 48px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
footer nav {
  display: flex;
  gap: 22px;
  margin-bottom: 8px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--color-primary);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.22s;
}
footer nav a:hover {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
footer img {
  max-height: 48px;
  margin-bottom: 0;
}
footer address {
  font-style: normal;
  font-size: 1.06rem;
  color: var(--color-primary);
  opacity: 0.8;
  margin-top: 8px;
  line-height: 1.7;
}

/* ------------------------------ MOBILE NAV OVERLAY ---------------------------- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1024px) {
  header nav, header .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: #fff;
  transform: translateX(-110%);
  box-shadow: 2px 0 32px 0 rgba(0,0,0,0.12);
  transition: transform 0.35s cubic-bezier(0.73,0.21,0.42,1.01);
  font-size: 1.14rem;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  font-size: 2.2rem;
  font-weight: 400;
  border: none;
  margin: 22px 0 16px 36px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 1103;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-electric-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 32px;
  gap: 0;
}
.mobile-nav a {
  display: block;
  padding: 20px 0 15px 0;
  color: var(--color-primary);
  border-bottom: 1.5px solid #eee;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
  transition: color 0.17s, background 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-accent);
  background: #faf1e0;
}

/* ENLARGE TOUCH TARGETS */
.mobile-nav a {
  min-height: 48px;
  min-width: 90vw;
}

/* ---------------------- COOKIE CONSENT BANNER & MODAL ------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(34,68,134,0.17);
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 99999;
  font-size: 1rem;
  transition: transform 0.60s cubic-bezier(0.7,0,0.4,1), opacity 0.5s;
  opacity: 1;
}
.cookie-banner.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--color-primary);
  margin-bottom: 0;
  text-align: center;
  max-width: 95vw;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.cookie-banner button,
.cookie-banner .button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 28px;
  min-width: 130px;
  border-radius: 27px;
  border: none;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.13s box-shadow 0.13s;
}
.cookie-banner .button.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner button.accept:focus,
.cookie-banner button.accept:hover {
  background: var(--color-electric-blue);
  color: #fff;
}
.cookie-banner button.reject:focus, .cookie-banner button.reject:hover {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-banner .button.settings:focus,
.cookie-banner .button.settings:hover {
  background: var(--color-accent);
  color: #fff;
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 100002;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  backdrop-filter: blur(1.4px);
  background: rgba(28,54,82,.23);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 12px 38px rgba(78, 30, 95, 0.17);
  padding: 36px 24px;
  max-width: 96vw;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
  position: relative;
  animation: cookie-popin 0.24s cubic-bezier(.83,-0.23,.52,1.48) 1;
}
@keyframes cookie-popin {
  0% { transform: scale(0.92) translateY(44px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal ul {
  padding-left: 0;
  list-style: none;
}
.cookie-modal li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-modal label {
  font-size: 1.08rem;
  color: #1c3652;
  cursor: pointer;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #D9D9D9;
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  vertical-align: middle;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-accent);
}
.cookie-modal .cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2.5px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2.5px #aaa2;
  transition: transform 0.18s;
}
.cookie-modal .cookie-toggle:checked:before {
  transform: translateX(15px);
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: #1c3652;
  position: absolute;
  right: 19px;
  top: 12px;
  font-size: 1.65rem;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal .button {
  padding: 10px 24px;
  border-radius: 27px;
  font-size: 1rem;
}

/* ---------------------------- ICON STYLE & ALIGNMENT --------------------------- */
li img, .content-wrapper ul li img {
  vertical-align: middle;
  margin-right: 10px;
  height: 23px;
}

/* --------------------------- SECTION / CONTENT SPACING ------------------------- */
@media (min-width: 768px) {
  .container {
    padding: 0 34px;
  }
  .content-wrapper {
    padding: 40px 44px;
    gap: 22px;
  }
  .hero .container {
    padding: 72px 44px 68px 44px;
  }
  .section {
    padding: 60px 50px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .hero .container {
    min-height: 180px;
    padding: 36px 6vw 26px 6vw;
  }
  .hero h1 { font-size: 2rem; }
  .card-container,
  .content-grid,
  .testimonial-card {
    flex-direction: column;
    gap: 15px;
  }
  .section {
    padding: 22px 4vw !important;
    margin-bottom: 30px;
  }
  .content-wrapper {
    padding: 18px 5vw;
    gap: 9px;
  }
  .testimonial-card {
    padding: 12px;
    gap: 10px;
  }
  .mobile-menu {
    font-size: 1.12rem;
  }
}

/* Responsive flex containers for text-image */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}


/* ------------------------------- UTILITIES ------------------------------------- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.block { display: block; }
.hide { display: none !important; }

/* ------------------------ SCROLLBAR STYLES FOR ENERGETIC FEEL ------------------ */
::-webkit-scrollbar {
  width: 10px;
  background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--color-accent), var(--color-electric-blue));
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-electric-pink);
}

/* ------------------------ ANIMATIONS & MICRO-INTERACTIONS ---------------------- */
a, .button, button {
  transition: color 0.15s, background 0.16s, box-shadow 0.19s, transform 0.13s;
}
section, .card, .content-wrapper, .testimonial-card {
  transition: box-shadow 0.21s, border-color 0.18s, background 0.19s;
}
/* Hover pop effect for cards */
.card:hover, .profile-card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,202,255,0.12), 0 6px 16px rgba(217,158,66,0.18);
  z-index: 2;
}

/* ----------------------------- FOCUS ACCESSIBILITY ------------------------------ */
a:focus-visible, .button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 3px dashed var(--color-accent);
  outline-offset: 1.5px;
}

/* --------------------------------- PRINT REDUCTION ------------------------------ */
@media print {
  * {
    color: #000 !important;
    background: none !important;
    box-shadow: none !important;
  }
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
