/* 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, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: Arial, Helvetica, sans-serif;
  background: #F1F6FB;
  color: #23406F;
  min-height: 100vh;
  font-size: 16px;
  overscroll-behavior-y: none;
  word-break: break-word;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
main, .container,
header, footer {
  width: 100%;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}
p {
  margin-bottom: 1em;
}
a {
  color: #2785F8;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #7AC143;
  text-decoration: underline;
}

/* BRAND & DISPLAY FONTS */
h1, h2, h3, h4, h5, h6,
.cta-btn,
.main-nav > a,
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.125; margin-bottom: 20px; }
h2 { font-size: 2rem;   line-height: 1.125; margin-bottom: 18px; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 8px;  }
h4, h5, h6 { font-size: 1rem;  }
strong { font-weight: 700; }

/* CONTAINER PATTERN */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
}

/* SECTION SPACING */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 700px) {
  section, .section { padding: 28px 8px; margin-bottom: 36px; }
}

/* VIBRANT ENERGETIC COLORS */
:root {
  --brand-primary: #23406F;
  --brand-secondary: #7AC143;
  --brand-accent: #F1F6FB;
  --electric-magenta: #EA008A;
  --electric-blue: #2785F8;
  --electric-yellow: #FFEC40;
  --white: #fff;
  --shadow-card: 0 6px 28px 0 rgba(39,133,248,0.08), 0 2px 8px 0 rgba(234,0,138,0.10);
  --shadow-hover: 0 6px 32px 0 rgba(122,193,67,0.20), 0 2px 8px 0 rgba(234,0,138,0.13);
  --radius-card: 24px;
  --radius-btn: 32px;
}

/* FLEXBOX LAYOUTS: NO GRID, NO COLUMNS! */
.feature-grid,
.card-container,
.content-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .content-grid,
  .features {
    gap: 16px;
  }
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 265px;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { 
  box-shadow: var(--shadow-hover); 
  transform: translateY(-3px) scale(1.025);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 3px 20px 0 rgba(39,133,248,0.07);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-content { flex: 1; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(95deg, #2785F8 0%, #EA008A 70%, #FFEC40 100%);
  background-size: 200% 200%;
  color: var(--white);
  text-align: center;
  padding-top: 56px;
  padding-bottom: 56px;
  box-shadow: 0 8px 30px 0 rgba(39,133,248,0.10);
  border-radius: 0 0 48px 48px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(39,133,248,0.13);
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #F1F6FB;
}
.hero .cta-btn {
  background: var(--white);
  color: #2785F8 !important;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 32px 4px 44px 4px; border-radius: 0 0 32px 32px; }
}

/* MAIN NAVIGATION BAR */
header {
  position: relative;
  background: var(--white);
  box-shadow: 0 4px 28px 0 rgba(39,64,111,0.07);
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 20px 12px 8px;
  max-width: 1120px;
  margin: 0 auto;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 22px;
}
.main-nav > a {
  font-size: 1.08rem;
  padding: 8px 0;
  font-weight: 600;
  color: var(--brand-primary);
  border-radius: 8px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
.main-nav > a.cta-btn {
  background: linear-gradient(93deg, #EA008A 8%, #7AC143 100%);
  color: #fff !important;
  padding: 10px 26px;
  border-radius: var(--radius-btn);
  font-size: 1.09rem;
  box-shadow: 0 2px 16px 0 rgba(122,193,67,0.13);
  margin-left: 14px;
  font-weight: 700;
  transition: background 0.24s, box-shadow 0.18s, color 0.20s;
}
.main-nav > a.cta-btn:hover { background: #2785F8; color: #fff!important; box-shadow: var(--shadow-hover); }
.main-nav > a:hover:not(.cta-btn),
.main-nav > a:focus:not(.cta-btn) { color: #EA008A; background: #F1F6FB; }
@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .main-nav > a { font-size: 0.98rem; }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; padding-left: 0; }
  .main-nav img { margin-right: 12px; height: 36px; }
}

/* BURGER MENU - MOBILE */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 16px;
  z-index: 31;
  background: none;
  border: none;
  font-size: 2rem;
  color: #2785F8;
  cursor: pointer;
  padding: 8px 10px 8px 12px;
  border-radius: 50%;
  line-height: 1;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F1F6FB;
}
@media (max-width: 950px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F1F6FB;
  box-shadow: 0 12px 84px 0 rgba(39,133,248,0.17);
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.68, -0.55, 0.27, 1.35);
  z-index: 1001;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #23406F;
  cursor: pointer;
  padding: 4px 10px 4px 12px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #e6eefa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
  align-items: center;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #2785F8;
  font-weight: 600;
  padding: 12px 0 13px 0;
  width: 82vw;
  text-align: center;
  border-radius: 16px;
  transition: background 0.14s, color 0.18s;
  letter-spacing: 0.02em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EA008A;
  color: #fff;
}
.mobile-nav a:last-child {
  font-size: 1.04rem;
}

/* Responsive hide menu bar */
@media (min-width: 951px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}

/* CTA BUTTONS & INTERACTIONS */
.cta-btn {
  background: linear-gradient(95deg, #EA008A 18%, #7AC143 100%);
  color: #fff !important;
  font-size: 1.17rem;
  padding: 13px 34px;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 700;
  cursor: pointer;
  margin: 0 auto;
  outline: none;
  box-shadow: 0 1px 12px 0 rgba(122,193,67,0.11);
  transition: background 0.22s, color 0.14s, transform 0.12s, box-shadow 0.19s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2785F8 !important;
  color: #fff !important;
  transform: translateY(-1px) scale(1.038);
  box-shadow: 0 3px 18px 0 rgba(39,133,248,0.19);
}

/* FEATURES (homepage) */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  flex: 1 1 225px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 18px 32px;
  text-align: center;
  min-width: 200px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
}
.feature img {
  height: 48px; width: 48px; margin-bottom: 12px;
}
.feature h3 {
  color: #2785F8;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature p {
  color: #23406F;
}
.feature:hover, .feature:focus {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.045);
}

/* ABOUT INTRO & GENERIC TEXT BLOCKS */
.text-section {
  margin-top: 12px;
  margin-bottom: 12px;
  max-width: 780px;
}
.text-section ul {
  margin: 16px 0 0 0;
  padding-left: 28px;
}
.text-section a, .text-section a:visited {
  display: inline-block;
  color: #EA008A;
  font-weight: 700;
  margin-top: 8px;
  transition: color 0.17s;
}
.text-section a:hover { color: #7AC143; }

/* SERVICES OVERVIEW */
.services-overview ul {
  margin: 16px 0;
}
.services-overview a {
  font-weight: 600;
  color: #23406F;
  background: #FFEC40;
  border-radius: 16px;
  padding: 8px 18px;
  margin-top: 10px;
  display: inline-block;
  box-shadow: 0 2px 7px 0 rgba(255,236,64,0.13);
  transition: background 0.18s, color 0.18s;
}
.services-overview a:hover { background: #2785F8; color: #fff; }

/* TESTIMONIALS */
.testimonials-preview, .testimonials-main {
  background: #FFEC40;
  border-radius: 32px;
  box-shadow: 0 2px 18px 0 rgba(122,193,67,0.10);
  padding-top: 36px;
  padding-bottom: 42px;
}
.testimonials-preview h2,
.testimonials-main h1 { color: #23406F; text-align: center; }

.testimonial-card {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(39,64,111,0.08);
  color: #23406F;
  min-width: 0;
}
.testimonial-content p {
  font-size: 1.08rem;
  color: #23406F;
  margin-bottom: 12px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #EA008A;
  font-weight: 700;
  margin-bottom: 6px;
}
.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 0;
}
.star-rating img {
  height: 20px; width: 20px;
}
.star-rating-summary {
  margin: 24px 0 20px 0;
  text-align: center;
  color: #23406F;
  font-weight: 700;
  font-size: 1.1rem;
}
.outcomes ul li, .testimonials-main ul li {
  margin-bottom: 13px;
}

/* FAQS */
.faq-list h3 {
  color: #EA008A;
  font-size: 1.18rem;
  margin-bottom: 6px;
  margin-top: 18px;
}
.faq-list p {
  margin-bottom: 6px;
}

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(100deg, #EA008A, #2785F8 82%, #7AC143 100%);
  color: var(--white);
  text-align: center;
  border-radius: 32px;
  box-shadow: 0 2px 18px 0 rgba(39,133,248,0.08);
  padding-top: 38px;
  padding-bottom: 50px;
  margin-bottom: 0;
}
.cta-banner h2 { color: #fff; font-size: 2rem; }
.cta-banner p { color: #F1F6FB; margin-bottom: 24px; }
.cta-banner .cta-btn { background: #FFEC40; color: #2785F8 !important; box-shadow: none; }
.cta-banner .cta-btn:hover { background: #23406F !important; color: #fff !important; }

/* CARD CONTAINERS GENERIC */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* PRICING TABLE */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
}
thead {
  background: #2785F8;
  color: #fff;
}
th, td {
  padding: 15px 12px;
  border-bottom: 1px solid #F1F6FB;
  text-align: left;
  font-size: 1.06rem;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(odd) {
  background: #F1F6FB;
}
tbody tr:hover {
  background: #EA008A;
  color: #fff;
}
tbody tr:hover a { color: #fff; }
@media (max-width: 700px) {
  table, thead, tbody, tr, th, td { display: block; }
  th, td {
    padding: 11px 7px;
    text-align: left;
  }
}

/* ADDRESS, CONTACT INFO */
address {
  font-style: normal;
  font-size: 0.95rem;
  color: #2785F8;
  margin: 7px 0 0 0;
}

/* TEXT HIERARCHY */
h1, h2, h3, .cta-btn {
  text-shadow: 0 1.5px 6px rgba(234,0,138,0.10);
}

/* MAP LOCATION, CONTACT */
.map-location {
  background: #F1F6FB;
  border-radius: var(--radius-card);
  padding: 20px;
  margin-top: 18px;
  box-shadow: 0 2px 10px 0 rgba(39,133,248,0.07);
}

/* FOOTER */
footer {
  background: #23406F;
  color: #fff;
  padding: 38px 0 23px 0;
  box-shadow: 0 -2px 22px 0 rgba(39,64,111,0.13);
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #FFEC40;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.16s;
  padding: 5px 10px;
  border-radius: 8px;
}
.footer-nav a:hover { color: #EA008A; background: #fff2; }
.footer-info {
  text-align: center;
  color: #fff;
  margin-top: 8px;
  font-size: 0.97rem;
}
.footer-info address {
  color: #FFEC40;
  margin-top: 7px;
}

/* LEGAL PAGES */
.legal {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px 0 rgba(122,193,67,0.07);
  padding: 34px 22px;
  margin: 30px auto 0 auto;
  max-width: 840px;
}
.legal h1, .legal h2 { color: #EA008A; }

/* COOKIE BANNER AND CONSENT MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9508;
  background: #2785F8;
  color: #fff;
  padding: 18px 12px 14px 12px;
  box-shadow: 0 -4px 24px 0 rgba(234,0,138,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: ccSlideIn 0.50s cubic-bezier(0.72, -0.57, 0.27, 1.27);
}
@keyframes ccSlideIn {
  0% { opacity: 0; transform: translateY(100px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  color: #fff;
  font-size: 1.02rem;
  margin: 0 0 7px 0;
  text-align: center;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 22px;
  margin: 0 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, transform 0.12s;
}
.cookie-btn.accept {
  background: #7AC143;
  color: #fff;
}
.cookie-btn.accept:hover { background: #23406F; }
.cookie-btn.reject {
  background: #EA008A;
  color: #fff;
}
.cookie-btn.reject:hover { background: #23406F; }
.cookie-btn.settings {
  background: #FFEC40;
  color: #23406F;
  border: 2px solid #2785F8;
}
.cookie-btn.settings:hover {
  background: #2785F8;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9600;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,64,111,0.72);
  display: flex;
  align-items: center; justify-content: center;
  animation: fadeIn 0.37s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 32px 0 rgba(39,133,248,0.18);
  width: 96vw;
  max-width: 430px;
  padding: 32px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalPopup 0.31s cubic-bezier(0.8,-0.34,0.19,1.33);
}
@keyframes modalPopup {
  0% { transform: scale(0.85) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: #2785F8;
  margin-bottom: 15px;
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 11px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.05rem;
  color: #EA008A;
}
.cookie-category input[type="checkbox"] {
  accent-color: #EA008A;
  width: 21px; height: 21px;
}
.cookie-category .cookie-always-on {
  color: #7AC143;
  font-size: 0.99rem;
  font-weight: 800;
  margin-left: 4px;
}
.cookie-modal-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { min-width: 0; }

/* MISC & RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  .feature,
  .card {
    min-width: 180px;
    padding: 18px 7px;
  }
}
@media (max-width: 650px) {
  .feature-grid,
  .features,
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .testimonial-card, .feature, .cta-banner, .about-intro, .testimonials-preview { border-radius: 18px; }
}

/* BUTTON FOCUS INDICATOR */
button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #EA008A;
  outline-offset: 2px;
}

/* MICRO-INTERACTIONS & HIGHLIGHTS */
.cta-btn, .cookie-btn {
  will-change: transform, box-shadow; /* for snappy effect */
}
.section a:not(.cta-btn) {
  color: #EA008A;
  text-decoration: underline dotted;
}
.section a:not(.cta-btn):hover {
  color: #2785F8;
}

/* SCROLLBAR STYLING */
::-webkit-scrollbar { width: 8px; background: #F1F6FB; }
::-webkit-scrollbar-thumb { background: #2785F8; border-radius: 8px; }

/* SPACING - MANDATORY */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ENSURE MINIMUM 20px BETWEEN CONTENT CARDS */
.card, .feature, .testimonial-card, .section, .about-intro, .testimonials-preview, .cta-banner, .legal {
  margin-bottom: 20px;
}

/* CLASSES FOR VISUAL HIERARCHY */
.section h1, .section h2, .section h3 {
  margin-bottom: 14px;
}

/* PREVENT CONTENT OVERLAP - ADEQUATE MARGINS */
.section > *, .content-wrapper > * {
  margin-bottom: 20px;
}

/* END CSS */
