/* =======================
   CSS 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F7F9;
  color: #233E48;
  font-family: 'Open Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ul, ol {
  padding-left: 2em;
  margin-top: 0.5em;
  margin-bottom: 1em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1476FF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ef3e36;
  outline: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
}

/* ===============
   BRAND COLORS
   =============== */
:root {
  --primary: #233E48;
  --secondary: #739C82;
  --accent: #F6F7F9;
  --electric-cyan: #00FFD7;
  --electric-blue: #00A6FB;
  --electric-orange: #FF7E29;
  --electric-pink: #FD357E;
  --card-bg: #fff;
  --shadow: 0 4px 16px rgba(34, 62, 72, 0.12);
  --radius: 20px;
  --radius-card: 18px;
  --transition: all 0.25s cubic-bezier(0.65,0.05,0.36,1);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===========================
   TYPOGRAPHY & HEADINGS
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.7em;
  background: linear-gradient(90deg, #00FFD7 0%, #00A6FB 50%, #FD357E 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
  font-weight: 800;
}
h3 {
  font-size: 1.4rem;
  font-weight: 800;
}
p, li, span, ul, ol {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1.08rem;
}
strong {
  font-weight: 700;
}
.text-section p {
  font-size: 1.12rem;
  margin-bottom: 1em;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem;}
  h2 { font-size: 2.4rem;}
  h3 { font-size: 1.5rem;}
  p, li { font-size: 1.15rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.7rem; }
  p, li { font-size: 1.18rem; }
}

/* =========================
   FLEX LAYOUTS & CONTAINER
   ========================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Ensures each main section is spaced out */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 16px;
  margin-bottom: 8px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px 28px 28px 28px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 250px;
  max-width: 380px;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 8px 32px rgba(34,62,72,0.15);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/********************
*   TESTIMONIALS    *
********************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(0,166,251,0.17);
  border-radius: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1.11rem;
  min-width: 250px;
  max-width: 750px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 0.25em;
}
.testimonial-card span {
  font-size: 1rem;
  display: block;
  color: #233E48;
  background: #F6F7F9;
  border-radius: 12px;
  padding: 4px 12px;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 #00FFD7cc;
  transform: translateY(-2px) scale(1.02);
}

/****************************
*  FEATURE & CHECKLIST ITEMS
*****************************/
.content-wrapper ul, .checklist ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
.content-wrapper ul li, .checklist ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.09rem;
  padding: 0.5em 0;
  line-height: 1.45;
}
.content-wrapper ul li img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  margin-right: 6px;
}
.pro {
  color: #11A87E;
  font-weight: 700;
}
.contra {
  color: #ef3e36;
  font-weight: 700;
}

/**********************
*    HERO SECTION     *
***********************/
main > section:first-child {
  background: linear-gradient(95deg, #00FFD7 0%, #00A6FB 70%, #FD357E 100%);
  border-radius: 0 0 50px 50px;
  box-shadow: 0 8px 32px 0 rgba(13, 82, 107, 0.18);
  margin-bottom: 60px;
  padding: 48px 0 48px 0;
}
main > section:first-child h1, .hero-title {
  background: none;
  color: #233E48;
  background-clip: unset;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
}
main > section:first-child p {
  color: #184455;
  font-size: 1.25rem;
  font-family: var(--font-body);
}

/******************
*    BUTTONS     *
*******************/
.cta-button {
  font-family: var(--font-display);
  font-size: 1.13rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #00A6FB 0%, #FD357E 80%);
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 14px 44px;
  box-shadow: 0 2px 20px 0 #00A6FB38;
  margin-top: 12px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#FD357E 10%,#00FFD7 95%);
  color: #233E48;
  box-shadow: 0 6px 28px 0 #FD357e47;
  transform: translateY(-3px) scale(1.06);
}
.button-alt {
  background: linear-gradient(90deg, #FF7E29 0%, #00FFD7 100%);
  color: #fff;
}
.button-alt:hover, .button-alt:focus {
  background: linear-gradient(90deg,#00FFD7 20%,#FF7E29 80%);
  color: #233E48;
}

/*******************
*   HEADER STYLE   *
********************/
header {
  width: 100%;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,62,72,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 0 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #00FFD7;
  color: #184455;
}
header .cta-button {
  margin-left: 16px;
  margin-right: 0;
}
header img {
  max-height: 52px;
  width: auto;
  margin-right: 12px;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 54px;
  width: 54px;
  font-size: 2.2rem;
  color: #fff;
  background: linear-gradient(135deg,#00FFD7,#00A6FB,#FD357E);
  border-radius: 50%;
  box-shadow: 0 4px 20px #00ffd75d;
  border: none;
  z-index: 100;
  position: absolute;
  top: 12px;
  right: 16px;
  transition: background 0.25s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: linear-gradient(135deg,#FD357E, #00FFD7, #00A6FB);
  color: #233E48;
}
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(105deg, #00A6FB 50%, #FD357E 100%);
  z-index: 99;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 44px;
  padding-left: 30px;
  overflow-y: auto;
  animation: slideInLeft 0.44s cubic-bezier(0.36,0.66,0.04,1) forwards;
}
@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0;}
  to { transform: translateX(0); opacity: 1;}
}
@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1;}
  to { transform: translateX(-100%); opacity: 0;}
}
.mobile-menu-closing {
  animation: slideOutLeft 0.33s cubic-bezier(0.36,0.66,0.04,1) forwards;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2.7rem;
  font-weight: 700;
  color: #fff;
  background: none;
  z-index: 120;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #233E48;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 10px 0;
  border-radius: 6px;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: #00FFD7;
  color: #233E48;
}

@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 10px;
    padding: 0 12px;
    min-height: 65px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 800px) {
  header nav { gap: 10px; }
  .cta-button { padding: 12px 32px; font-size: 1rem;}
}

@media (max-width: 768px) {
  header .container { flex-direction: row;}
  header nav, header .cta-button { display: none; }
  .mobile-menu-toggle { display: flex; }
  main > section:first-child { border-radius: 0 0 28px 28px; }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important;}
  header nav, header .cta-button { display: flex !important; }
}

/* =======
   MAIN FLEX RE-SPACING ON DESKTOP
=========== */
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    gap: 36px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .text-image-section {
    flex-direction: row;
    gap: 36px;
  }
}
@media (max-width: 768px) {
  .content-wrapper,
  .text-image-section {
    flex-direction: column !important;
    gap: 22px !important;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    border-radius: 14px;
    min-width: unset;
    max-width: unset;
  }
  section {
    padding: 28px 0;
    margin-bottom: 38px;
  }
}

/********************************
*        FOOTER                 *
*********************************/
footer {
  background: linear-gradient(90deg, #233E48 75%, #00A6FB 100%);
  color: #fff;
  padding: 40px 0 24px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 1em;
  margin-top: 8px;
}
.footer-menu a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #00FFD7;
  color: #233E48;
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.brand-info img {
  height: 37px;
  margin-bottom: 4px;
}
.brand-info p {
  color: #fff;
  font-size: 0.97rem;
  margin-bottom: 0;
}
.social-links {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  justify-content: center;
  transition: background 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 10px #00A6FB20;
}
.social-links a img {
  height: 21px;
}
.social-links a:hover {
  background: #00FFD7;
  box-shadow: 0 6px 24px #00ffd773;
}

@media (max-width: 767px) {
  .footer-menu {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/***********************************************************
*    COOKIE CONSENT BANNER & POPUP SETTINGS MODAL
************************************************************/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, #00A6FB 36%, #FD357E 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.13rem;
  box-shadow: 0 -4px 24px 0 #00A6FB30;
  z-index: 9999;
  padding: 28px 16px 18px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  border-radius: 32px 32px 0 0;
  animation: slideUpBanner 0.4s cubic-bezier(0.6,0,0.36,1) forwards;
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity: 0;}
  to { transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-left: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: #fff;
  color: #00A6FB;
  border: none;
  border-radius: 24px;
  padding: 10px 30px;
  margin-bottom: 2px;
  cursor: pointer;
  box-shadow: 0 2px 12px #00FFD74b;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #233E48;
  color: #fff;
  box-shadow: 0 4px 32px #233e484b;
}
.cookie-banner .cookie-settings-btn {
  background: linear-gradient(90deg,#233E48 0,#00FFD7 60%);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #00FFD7;
  color: #233E48;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    font-size: 0.98rem;
    padding: 14px 8px 10px 8px;
    border-radius: 16px 16px 0 0;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 62, 72, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadeInModal 0.22s cubic-bezier(0.36,0.66,0.15,1) forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 6px 48px #233E4877;
  padding: 36px 28px;
  min-width: 340px;
  max-width: 500px;
  color: #233E48;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popBouncy 0.32s cubic-bezier(0.46,1.6,0.42,0.96);
}
@keyframes popBouncy {
  0% { transform: scale(0.7); opacity: 0; }
  72% { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.1rem;
  font-weight: 700;
  color: #233E48;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.09rem;
  justify-content: space-between;
}
.cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: #00FFD7;
  border-radius: 6px;
}
.cookie-category input[disabled] {
  accent-color: #233E48;
  filter: grayscale(1);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-actions button {
  padding: 10px 32px;
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: 18px;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 6px;
    min-width: 220px;
    max-width: 99vw;
  }
}

/*******************
* OL/UL enhancements
********************/
ol {
  margin: 0 0 1.1em 2em;
  padding-left: 1.2em;
}
ol li {
  counter-increment: step;
  padding-left: 0.25em;
  margin-bottom: 8px;
  font-size: 1.09rem;
}
ol li::before {
  content: counter(step) '.';
  font-family: var(--font-display);
  font-size: 1.07em;
  font-weight: 900;
  color: #00A6FB;
  padding-right: 8px;
}

/******************
*  UTILITIES      *
*******************/
.mb-32 { margin-bottom: 32px; }
.mb-16 { margin-bottom: 16px; }
.mt-24 { margin-top: 24px; }
.gap-32 { gap: 32px; }

/**************************************
*      ADDITIONAL INTERACTIONS        *
***************************************/
.card, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:focus-within, .testimonial-card:focus-within {
  outline: 2px solid #00FFD7;
}

.content-wrapper a {
  transition: color 0.22s, text-decoration 0.22s;
}

.text-section a, .text-section a:visited {
  color: #00A6FB;
  font-weight: 700;
  text-decoration: underline;
}
.text-section a:hover {
  color: #FD357E;
  text-decoration: none;
}

/****************************************
*    FORMS (for potential contact pages)
*****************************************/
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid #e1eafa;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  transition: border var(--transition), box-shadow var(--transition);
  width: 100%;
  box-sizing: border-box;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #00FFD7;
  box-shadow: 0 0 0 2px #00FFD755;
  outline: none;
}
label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
}

/***********************************************
*    FINAL REINFORCED SPACING FOR FLEX ITEMS   *
************************************************/
.card-container>*:not(:last-child),
.content-grid>*:not(:last-child),
.content-wrapper>*:not(:last-child),
.text-image-section>*:not(:last-child),
.feature-item>*:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-right: 0;
  margin-bottom: 20px;
}
.content-wrapper > * {
  flex: 1 1 0;
  min-width: 230px;
}

/*******************************************
*  NO ABSOLUTE POSITIONING FOR MAIN CARDS  *
*  Only for decorative icons when present  *
********************************************/

/*******************************************
*  CRITICAL: ENSURE ACCESSIBLE CONTRAST
********************************************/
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #233E48 !important;
  background: #fff !important;
}

/*******************************************
*   PRINT SUPPORT (optional, clean look)   *
*******************************************/
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
