/* ==== 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6FB;
  color: #263159;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.24s cubic-bezier(.72,.18,.36,.88);
}
img {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}


/* ==== BRAND VARIABLES (fallbacks for custom properties) ==== */
:root {
  --color-primary: #263159;
  --color-secondary: #39A0ED;
  --color-accent: #F4F6FB;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius-outer: 24px;
  --radius-inner: 12px;
  --shadow: 0 4px 24px rgba(38,49,89,.08);
  --shadow-hover: 0 6px 32px rgba(38,49,89,0.13);
}


/* ==== TYPOGRAPHY (creative_artistic) ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -1.2px;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h1 {
  font-size: 2.65rem;
  line-height: 1.15;
  background: linear-gradient(90deg, #39A0ED 20%, #263159 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  line-height: 1.18;
}
h3 {
  font-size: 1.38rem;
  line-height: 1.22;
}
h4 {
  font-size: 1.15rem;
}
p, li, span, a, button {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #263159;
}
p:not(:last-child) {
  margin-bottom: 15px;
}
.text-section h2, .text-section h3, .text-section h4 {
  margin-top: 30px;
}
strong {
  font-weight: 600;
  color: var(--color-secondary);
  font-family: var(--font-display);
  letter-spacing: 0.6px;
}


/* ==== SPACING & STRUCTURAL FLEX LAYOUTS (MANDATORY) ==== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0 0 var(--radius-inner) var(--radius-inner);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  border-radius: var(--radius-inner);
  background: #fff;
}
.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(--radius-inner);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.content-wrapper {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
ul > li, ol > li {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 48px;
}
ul > li img, ol > li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(57,160,237,0.06);
  background: #E8F1F8;
}

.text-section {
  margin-top: 24px;
}


/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(38,49,89,0.06);
  z-index: 1000;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 7px;
  position: relative;
  background: none;
  transition: background .18s cubic-bezier(.7,.2,.27,.92), color .18s cubic-bezier(.79,.01,.64,1);
}
header nav a:not(.btn-primary):hover {
  background: var(--color-secondary);
  color: #fff;
}
header .btn-primary {
  background: var(--color-secondary);
  color: #fff !important;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(57,160,237,0.07);
  padding: 10px 25px;
  margin-left: 12px;
  font-size: 1.09rem;
  letter-spacing: 0.6px;
  transition: box-shadow .22s, background .18s, transform .18s;
  border: none;
}
header .btn-primary:hover, .btn-primary:focus {
  background: #263159;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(38,49,89,0.16);
  transform: translateY(-2px) scale(1.03);
}
header img {
  max-height: 42px;
  height: 42px;
  margin-right: 22px;
}

/* Hamburger Button */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 50%;
  font-size: 2rem;
  display: none;
  margin-left: 18px;
  box-shadow: 0 2px 10px rgba(57,160,237,0.11);
  transition: background .15s, box-shadow .16s;
  z-index: 1200;
}
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(38,49,89,0.14);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,49,89,0.96);
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 16px 0 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 2.25rem;
  align-self: flex-end;
  box-shadow: 0 2px 10px rgba(38,49,89,0.14);
  margin-bottom: 28px;
  padding: 6px 14px 7px 14px;
  border: none;
  transition: background .18s;
  z-index: 1900;
}
.mobile-menu-close:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 82vw;
  max-width: 400px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.7px;
  background: none;
  padding: 12px 0 12px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(244,246,251,0.10);
  transition: color .15s, background .13s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(57,160,237, 0.09);
}


/* ==== HERO & SECTION ARTISTIC STYLES ==== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(96deg, #F4F6FB 82%, #E8F1F8 100%);
  border-radius: 0 0 30px 30px;
  min-height: 0px;
  box-shadow: none;
}
section:nth-child(odd) {
  background: #fff;
  box-shadow: 0 2px 12px rgba(38,49,89,0.03);
}


/* ==== BUTTONS & INTERACTIONS ==== */
.btn-primary {
  background: var(--color-secondary);
  color: #fff !important;
  font-family: var(--font-display);
  padding: 13px 30px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px rgba(57,160,237,0.12);
  border: none;
  transition: box-shadow .18s, background .15s, transform .15s;
  margin-top: 6px;
  margin-bottom: 6px;
  letter-spacing: 0.7px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: #fff !important;
  box-shadow: 0 8px 26px rgba(38,49,89,0.18);
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
}
.btn-secondary {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  padding: 11px 26px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 6px;
  transition: background .14s, color .14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-secondary);
  color: #fff !important;
}


/* ==== CARD, FEATURE, TESTIMONIAL ==== */
.card, .content-wrapper ul > li, .testimonial-card {
  transition: box-shadow .18s, transform .19s;
}
.card:hover, .content-wrapper ul > li:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.01);
}
.content-wrapper ul > li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(57,160,237,0.07);
  padding: 15px 18px 13px 13px;
}

.testimonial-card {
  background: #fff;
  box-shadow: 0 4px 18px #cbe4fa22, 0 0px 0 #0000;
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  min-width: 300px;
  font-size: 1.13rem;
  flex-direction: column;
  align-items: flex-start;
  border-left: 6px solid var(--color-secondary);
  padding: 22px 28px 19px 26px;
}
.testimonial-card p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: #222;
}
.testimonial-card span {
  font-family: var(--font-display);
  font-size: 1.01rem;
  color: var(--color-primary);
  letter-spacing: 0.3px;
  line-height: 1.2;
}


/* ==== FOOTER ==== */
footer {
  background: #263159;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 36px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-direction: column;
}
footer nav a {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  opacity: 0.96;
  transition: opacity .13s, background .13s;
  border-radius: 8px;
  padding: 4px 11px;
}
footer nav a:hover {
  opacity: 1;
  background: var(--color-secondary);
  color: #fff;
}
footer img {
  max-width: 46px;
  margin-bottom: 13px;
}
.contact-info {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info img {
  max-height: 20px;
  max-width: 22px;
  margin-bottom: -4px;
  vertical-align: middle;
  margin-right: 5px;
}


/* ==== COOKIE CONSENT BANNER AND MODAL ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 28px 22px 24px 22px;
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -2px 18px 2px rgba(57,160,237,0.10);
  z-index: 2400;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  animation: cookieSlideIn .72s cubic-bezier(.5,1.7,.64,1.05);
}
@keyframes cookieSlideIn {
  from {  transform: translateY(100%); opacity: 0; }
  to {    transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #222;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  font-size: 0.99rem;
  padding: 8px 22px;
  box-shadow: 0 1px 5px rgba(57,160,237,0.09);
  font-weight: 600;
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.6px solid var(--color-secondary);
  border-radius: 10px;
  padding: 8px 14px;
  transition: background .14s, color .14s;
  font-size: 0.98rem;
  font-family: var(--font-display);
}
.cookie-banner .btn-settings:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(38,49,89,0.70);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn .6s cubic-bezier(.63,.11,.36,.89);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1;  }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 44px 0 rgba(38,49,89,0.17);
  max-width: 410px;
  width: 97vw;
  padding: 30px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h3 {
  margin-bottom: 12px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal .toggle-switch {
  min-width: 44px;
  height: 24px;
  background: #eee;
  border-radius: 14px;
  position: relative;
  transition: background .16s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-modal .toggle-switch[data-on="true"] {
  background: var(--color-secondary);
}
.cookie-modal .switch-dot {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px; top: 1px;
  transition: left .19s cubic-bezier(.57,.13,.29,.98);
}
.cookie-modal .toggle-switch[data-on="true"] .switch-dot {
  left: 21px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  right: 8px;
  top: 6px;
  background: none;
  color: #263159;
  font-size: 1.5rem;
  border: none;
  padding: 0 6px;
  border-radius: 50%;
  transition: background .12s;
}
.cookie-modal .btn-close-modal:hover {
  background: #eee;
}


/* ==== ARTISTIC ELEMENTS/DECORATIONS ==== */
.card, .content-wrapper ul > li, .testimonial-card, section, .btn-primary {
  border-bottom-right-radius: 36px 38px;
  border-top-left-radius: 22px 15px;
}
section {
  border-top-right-radius: 45px 60px;
}

/* Fun colored underline under h2 */
h2 {
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 74px;
  height: 5px;
  background: var(--color-secondary);
  border-radius: 6px;
  position: absolute;
  left: 0;
  bottom: -11px;
}

/* Decorative splatter for the creative-artistic look (pseudo, non-intrusive) */
h1, .btn-primary {
  position: relative;
}
h1::before, .btn-primary::before {
  content: '';
  position: absolute;
  width: 40px; height: 22px;
  background: rgba(57,160,237,0.15);
  left: -22px; top: -19px;
  border-radius: 42% 38% 39% 60%;
  z-index: 0;
  filter: blur(1.4px);
  pointer-events: none;
  animation: h1Splatter 5.4s infinite alternate cubic-bezier(.2,.62,.55,1);
}
@keyframes h1Splatter {
  20% { left: -17px; top: -21px;  width: 36px; height: 24px; }
  80% { left: -33px; top: -11px; width: 44px; height: 26px; }
}
.btn-primary::before {
  width: 32px; height: 16px;
  top: -10px; left: -14px;
  background: rgba(38,49,89,0.10);
  z-index: 0;
  animation: btnSplash 3s infinite alternate cubic-bezier(.3,.7,.7,.3);
}
@keyframes btnSplash {
  38% { left: -12px; top: -10px; height: 13px; }
  85% { left: -18px; top: -5px; width: 37px; }
}

/* Add hover translation to link underline on nav */
header nav a:not(.btn-primary)::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: var(--color-secondary);
  transition: width .12s, left .12s;
  margin-top: 3px;
}
header nav a:not(.btn-primary):hover::after {
  width: 85%;
}


/* === MEDIA QUERIES FOR RESPONSIVENESS === */
@media (max-width: 1080px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  .content-wrapper { max-width: 95vw; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 28px; }
}
@media (max-width: 768px) {
  .section, section { padding: 24px 10px; margin-bottom: 38px; }
  .content-wrapper {
    padding: 0 0 18px 0;
    gap: 17px;
    max-width: 99vw;
  }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column !important;
    gap: 15px;
  }
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .testimonial-card, .content-wrapper ul > li, .card {
    padding: 16px 9px 14px 12px;
    font-size: 1rem;
    min-width: 0;
  }
  ul > li img, ol > li img { width: 26px; height: 26px; }
}
@media (max-width: 550px) {
  .container { padding: 0 5px; }
  footer { padding: 22px 0 18px 0; }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.07rem; }
  .btn-primary, .btn-secondary { font-size: 0.97rem; padding: 11px 14px; }
  .cookie-banner { padding: 14px 8px 12px 8px; }
}


/* ======= Utility Classes for Margin Consistency ========= */
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mt-24 { margin-top: 24px!important; }
.mb-24 { margin-bottom: 24px!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }

/* ====== FOCUS STATES FOR ACCESSIBILITY ======= */
a:focus, button:focus {
  outline: 3px dashed #39A0ED;
  outline-offset: 2px;
  background: #deeefd;
  border-radius: 8px;
}

/* ===== SUCCESS/MESSAGE BAR (for form/thank you page) ===== */
.success-message {
  background: #e1fbe6;
  color: #1f872b;
  padding: 13px 18px;
  border-radius: 13px;
  font-family: var(--font-body);
  margin-bottom: 24px;
  font-size: 1.07rem;
}

/* ===== Hide cookie modal and banner on action (add/remove .open/.show as JS needs) ===== */
.cookie-banner.hide {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.hide {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* ====== Animations for Microinteractions ======= */
.card, .content-wrapper ul > li {
  transition: box-shadow .21s cubic-bezier(.63,.11,.36,.89), transform .18s cubic-bezier(.7,.17,.42,1.18);
}
.btn-primary, .btn-secondary {
  transition: background .16s, color .16s, box-shadow .16s, transform .18s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

/* ===== Hide visually for a11y ===== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
