/* ----------------------------
  RESET & BASE TYPOGRAPHY
---------------------------- */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 100%;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #FAFAFA;
  color: #152B44;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #37D2C9;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #152B44;
  outline: none;
}
li {
  margin-bottom: 8px;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #152B44;
  line-height: 1.2;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; letter-spacing: 0.04em; margin-bottom: 28px; }
h2 { font-size: 2rem; letter-spacing: 0.03em; margin-bottom: 24px; }
h3 { font-size: 1.35rem; letter-spacing: 0.02em; margin-bottom: 14px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, .text-section {
  font-size: 1.08rem;
  color: #344769;
  margin-bottom: 18px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #37D2C9;
  background: #E6FCF9;
  padding: 14px 25px 14px 20px;
  margin-bottom: 12px;
  color: #0C2336;
}
strong { color: #152B44; font-weight: bold; }

/*---------------------------
   BRAND COLORS
----------------------------*/
:root {
  --primary: #152B44;
  --secondary: #37D2C9;
  --accent: #FAFAFA;
  --grey-bg: #F4F8FB;
  --artistic-magenta: #E25B96;
  --artistic-yellow: #F5C43D;
  --card-bg: #fff;
  --shadow: 0 6px 24px rgba(21, 43, 68, 0.07), 0 1.5px 5px rgba(53, 210, 201, 0.04);
}

/*---------------------------
    LAYOUT CONTAINER
----------------------------*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #F5C43D10 80%, transparent 110%);
}

@media (max-width: 768px) {
  .section {
    padding: 22px 6px;
    margin-bottom: 36px;
  }
}

/*---------------------------
    HEADER/NAVIGATION
----------------------------*/
header {
  background: #FFFFFFCC;
  box-shadow: 0 4px 10px rgba(21, 43, 68, 0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}
header img {
  width: 165px;
  margin-right: 32px;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #152B44;
  padding: 8px 10px;
  border-radius: 12px;
  position: relative;
  background: none;
  transition: background 0.22s, color 0.22s;
}
nav a:hover, nav a:focus {
  background: #DEF6F5;
  color: #E25B96;
}
.cta {
  background: var(--secondary);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 33px;
  box-shadow: 0 2px 14px #37D2C944;
  letter-spacing: 0.04em;
  margin-left: 15px;
  transition: background 0.24s, transform 0.14s, box-shadow 0.24s;
  cursor: pointer;
}
.cta:hover, .cta:focus {
  background: #152B44;
  color: #F5C43D !important;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 4px 16px #37D2C988;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #152B44;
  padding: 8px 12px;
  border-radius: 18px;
  transition: background 0.18s;
  margin-left: 12px;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F5C43D22;
  color: #E25B96;
}

/*----------------------------
        MOBILE NAVIGATION
----------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(33,42,72,0.97);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.04,.32,.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 14px 0 0 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FAFAFA;
  font-size: 2.3rem;
  padding: 12px 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F5C43D;
  background: #152B4422;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 32px 34px;
  margin-top: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #FAFAFA;
  font-size: 1.25rem;
  padding: 12px 0;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.025em;
  background: transparent;
  margin-left: 0;
  transition: background 0.19s, color 0.17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #37D2C9;
  color: #152B44;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 4px;
    min-height: 62px;
  }
  header img {
    width: 118px;
  }
}

/*---------------------------
    HERO IMAGE/TITLE
----------------------------*/
main {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
h1,h2 { word-break: break-word; }

.section:first-child {
  background: linear-gradient(105deg,#37D2C922 75%,#E25B9617 120%);
  box-shadow: 0 8px 28px #152B4417;
  border-radius: 0 0 40px 40px;
}

/*----------------------------
   FLEXBOX SPACING PATTERNS
-----------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.26s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 54px #E25B9688;
  transform: translateY(-4px) scale(1.025);
}
.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;
  background: #FCFCFE;
  border-radius: 22px;
  box-shadow: 0 2px 10px #37D2C917;
  margin-bottom: 20px;
  color: #152B44;
}
.testimonial-card blockquote {
  color: #152B44;
  font-style: italic;
  background: #fffceb;
  border-left: 5px solid #E25B96;
  padding: 12px 18px 12px 18px;
}
.testimonial-card p {
  color: #152B44;
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 2px 12px #37D2C911, 0 1.5px 5px #152B4422;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 295px;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.24s, transform 0.13s;
  position: relative;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 38px #F5C43D44;
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
}

.feature-grid img {
  width: 42px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 10px #E25B9633);
}

@media (max-width: 968px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    max-width: unset;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 730px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/*----------------------------
   BUTTONS & INTERACTIVE
-----------------------------*/
button, .cta, input[type="submit"], input[type="button"] {
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}
button:active, .cta:active {
  transform: scale(0.98);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #37D2C9;
  outline-offset: 1px;
}

/*-----------------------------
   TEXT SECTIONS, LISTS, DL
-----------------------------*/
.text-section {
  font-size: 1.07rem;
  color: #152B44;
  margin-bottom: 16px;
  padding: 12px 0 6px 0;
  display: flex;
  flex-direction: column;
}
dl, dt, dd {
  margin: 0;
  padding: 0;
}
dl {
  margin-top: 12px;
}
dt {
  font-weight: 700;
  color: #E25B96;
}
dd {
  color: #152B44;
  margin-left: 12px;
  margin-bottom: 14px;
}

/*----------------------------
  FOOTER
-----------------------------*/
footer {
  background: linear-gradient(90deg, #37D2C9 15%, #E25B96 89%);
  color: #fff;
  padding: 44px 0 0 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.97;
  transition: color 0.28s, opacity 0.18s;
  font-weight: 500;
  font-size: 1.01rem;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5C43D;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 44px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.footer-contact .text-section {
  color: #fff;
  font-size: 1.03rem;
}
.footer-contact a {
  color: #F5C43D;
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.footer-social a img {
  width: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 9px #152B4444;
  background: #fff;
  transition: transform 0.14s;
}
.footer-social a:hover img {
  transform: scale(1.12) rotate(4deg);
  box-shadow: 0 4px 21px #F5C43D33;
}
@media (max-width: 730px) {
  .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    margin-bottom: 8px;
  }
}

/*-----------------------------
      COOKIE CONSENT BANNER
------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #152B44;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 10px #0C233611;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 18px 16px 20px;
  flex-direction: row;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.04rem;
  animation: slideUpIn 0.66s cubic-bezier(.6,.7,.25,1);
  border-radius: 22px 22px 0 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: auto;
}
.cookie-banner button {
  padding: 8px 16px;
  border-radius: 23px;
  background: #37D2C9;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 6px #0C233611;
  transition: background 0.22s, color 0.13s;
}
.cookie-banner .reject {
  background: #fff;
  color: #E25B96;
  border: 2px solid #E25B96;
}
.cookie-banner .settings {
  background: #F5C43D;
  color: #152B44;
  border: none;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #FAFAFA;
  color: #152B44;
  outline: none;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px 10px 13px;
  }
  .cookie-banner .cookie-actions {
    gap: 8px;
    margin-left: 0;
  }
}

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

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-52%) scale(0.94);
  z-index: 3000;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 12px 52px #152B4430;
  max-width: 95vw;
  width: 400px;
  padding: 38px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%,-52%) scale(1);
}
.cookie-modal h2 {
  color: #152B44;
  margin-bottom: 4px;
  font-size: 1.25rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 9px 0;
  font-size: 1.1rem;
  color: #152B44;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #37D2C9;
  transform: scale(1.15);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 2px;
}
.cookie-modal button {
  padding: 8px 18px;
  border-radius: 23px;
  background: #37D2C9;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  transition: background 0.2s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: #152B44;
  color: #F5C43D;
}
.cookie-modal .close-modal {
  background: none;
  color: #E25B96;
  font-weight: 900;
  padding: 7px 14px;
}
.cookie-modal .close-modal:hover {
  text-decoration: underline;
  background: #FAFAFA;
}
@media (max-width: 530px) {
  .cookie-modal {
    width: 98vw;
    min-width: 0;
    padding: 21px 8px 16px 8px;
  }
}

/*----------------------------
    ARTISTIC FLAIR & UNIQUE
-----------------------------*/
/* Artistic underline under h2 headings */
h2 {
  position: relative;
  z-index: 1;
}
h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #37D2C9 65%, #E25B96 100%);
  border-radius: 2px;
  margin-top: 7px;
}
/* Artistic blob in background of cards - only decorative, non-overlapping */
.card::before {
  content: '';
  display: block;
  position: absolute;
  top: -30px; left: -30px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #F5C43D33;
  z-index: 0;
  pointer-events: none;
  filter: blur(13px) opacity(0.6);
}

.card {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* Bordered accent for artistic feeling */
.text-section {
  border-left: 5px solid #37D2C9;
  padding-left: 14px;
  background: #F4F8FB;
}

/* Artistic font for display headlines */
h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* Micro-interaction for link underline */
a:not(.cta)::after {
  content: '';
  display: block;
  width: 0;
  border-bottom: 2.5px solid #E25B96;
  transition: width 0.25s;
}
a:hover::after {
  width: 100%;
}


/*----------------------------
  Responsive typography scale
-----------------------------*/
@media (max-width: 650px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.06rem; }
  .container {
    padding: 0 5px;
  }
}

/*---------------------------
   Animations
----------------------------*/
.cta, .card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.23s;
}
.cta:active { transform: scale(0.97); }

/*----------------------------
   Misc Improvement Classes
---------------------------*/
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.gap-1 { gap: 8px !important; }
.gap-2 { gap: 16px !important; }

/*---------------------------
   Utility and Accessibility
----------------------------*/
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*---------------------------
   Remove spin buttons from number fields
----------------------------*/
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/*---------------------------
 ENDS HERE
----------------------------*/
