/* RESET & BASE STYLES -------------------------------------------------- */
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: #F3F6FA;
  color: #222;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #205F99;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFC300;
}
ul, ol {
  margin-bottom: 1.5rem;
  margin-left: 1.2em;
  padding-left: 0.6em;
}
li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}
strong, b {
  font-weight: bold;
}

/* VARIABLES (with CSS fallbacks) */
:root {
  --brand-primary: #205F99;
  --brand-primary-dark: #17487A;
  --brand-secondary: #F3F6FA;
  --brand-white: #FFFFFF;
  --brand-accent: #FFC300;
  --brand-elevate: #fdf8e7;
  --vibrant-pink: #ff3576;
  --vibrant-blue: #157aff;
  --vibrant-lime: #27fd73;
  --vibrant-purple: #842aff;
  --dark-text: #222;
  --light-text: #FFF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-card: 0 4px 24px rgba(32,95,153,0.10),0 2px 4px rgba(32,95,153,0.06);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition-fast: 0.18s cubic-bezier(.36,1.29,.35,1);
  --transition-medium: 0.28s cubic-bezier(.36,1.29,.35,1);
  --cta-shadow: 0 2px 10px rgba(255,195,0,0.12);
}

/* TYPOGRAPHY -------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  color: #17487A;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
p, .hero-subheadline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 12px;
}
.hero-subheadline {
  font-size: 1.24rem;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: 20px;
}
.text-section h2,
.text-section h3,
.text-section ol,
.text-section ul,
.text-section p {
  margin-left: 0;
}
.text-section {
  max-width: 900px;
  margin: 0 auto;
}

/* CONTAINER & SPACING PATTERNS -------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-lg);
  background: var(--brand-white);
  transition: box-shadow var(--transition-medium);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  gap: 14px;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--brand-elevate);
  box-shadow: 0 2px 8px 0 rgba(32,95,153,0.10);
  min-width: 280px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card p {
  color: #222;
  font-size: 1rem;
  font-weight: 500;
}
.testimonial-meta {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-primary-dark);
  opacity: 0.85;
}

.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.faq-list > div {
  background: var(--brand-white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition-fast);
}
.faq-list > div:hover {
  box-shadow: 0 8px 32px 0 rgba(21,122,255,0.10);
}
.faq-list h3 {
  margin: 0 0 8px 0;
  color: var(--vibrant-purple);
  font-size: 1.1rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.feature-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--brand-white);
  padding: 24px 22px 20px 22px;
  gap: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  min-width: 240px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  border: 3px solid transparent;
  transition: border 0.2s, box-shadow 0.23s;
}
.feature-grid > div:hover {
  border: 3px solid var(--vibrant-blue);
  box-shadow: 0 8px 24px 0 rgba(21,122,255,0.16);
  z-index: 3;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 2px;
  display: block;
}
.feature-grid h3 {
  font-size: 1.08rem;
  color: var(--vibrant-pink);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.service-list > div {
  flex: 1 1 260px;
  background: var(--brand-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  gap: 8px;
  transition: box-shadow 0.19s;
}
.service-list > div:hover {
  box-shadow: 0 8px 28px 0 rgba(255,53,118,0.11);
}

.contact-block {
  background: var(--brand-elevate);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-block p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-block img {
  width: 24px;
  height: 24px;
  display: inline-block;
}

/* HEADER & NAV ------------------------------------------------ */
header {
  background: var(--brand-white);
  box-shadow: 0 2px 8px rgba(32,95,153,0.08);
  position: sticky;
  top: 0;  /* for sticky nav */
  z-index: 40;
  width: 100%;
}
header .container {
  height: 76px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.2px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: background .19s, color .19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--light-text);
  background: var(--brand-primary);
  outline: none;
}
.cta-primary {
  background: var(--accent, #FFC300);
  color: #17487A;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  padding: 12px 34px;
  box-shadow: var(--cta-shadow);
  letter-spacing: 0.2px;
  margin-left: 16px;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  outline: none;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--vibrant-pink);
  color: #fff;
  box-shadow: 0 2px 24px 0 rgba(255,53,118,0.22);
}
.cta-secondary {
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  border-radius: 32px;
  padding: 8px 24px;
  border: none;
  margin-top: 8px;
  display: inline-block;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vibrant-pink);
  color: #fff;
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  color: var(--brand-primary-dark);
  font-size: 1.8rem;
  padding: 4px 18px 2px 18px;
  border-radius: 40px;
  border: none;
  margin-left: 10px;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vibrant-blue);
  color: #fff;
}

/* MOBILE NAVIGATION ------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(32,95,153,0.97);
  z-index: 1010;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.27,1.19,.41,1);
  pointer-events: none;
  box-shadow: 0 16px 60px 0 rgba(21,122,255, 0.15);
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FFF;
  font-size: 2.2rem;
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1040;
  cursor: pointer;
  padding: 0 5px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 90px 0 0 34px;
  width: 80vw;
  max-width: 380px;
}
.mobile-nav a {
  color: #FFF;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: color 0.19s;
  padding: 7px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  outline: none;
}

/* FOOTER ------------------------------------------------------ */
footer {
  background: var(--brand-primary-dark);
  color: #fff;
  padding: 44px 0 24px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 12px rgba(23,72,122,0.09);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer a {
  color: #fff;
  opacity: 0.78;
  font-weight: 500;
  transition: color 0.21s, opacity 0.13s;
}
footer a:hover, footer a:focus {
  color: var(--accent, #FFC300);
  opacity: 1;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-right: 24px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.96rem;
  opacity: 0.99;
}
.footer-info p {
  color: white;
}
footer img {
  height: 40px;
  margin-bottom: 9px;
}

/* BUTTONS & INTERACTIVE ELEMENTS ------------------------------ */
button {
  font-family: var(--font-display);
}
button:focus {
  outline: 2px solid var(--brand-accent);
}

/* Micro-animations */
.cta-primary, .cta-secondary {
  transition: box-shadow .17s, background .15s, color .14s, transform .14s;
}
.cta-primary:active, .cta-secondary:active {
  transform: scale(0.98);
}
.feature-grid > div:active,
.service-list > div:active,
.card:active {
  transform: scale(0.99);
}

/* ICONS */
img[alt^="icon-"] {
  filter: none;
}

/* MEDIA QUERIES & RESPONSIVENESS ------------------------------ */
@media (max-width: 1280px) {
  .container {
    max-width: 1000px;
    padding: 0 12px;
  }
}
@media (max-width: 970px) {
  .container {
    max-width: 850px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 97vw;
    padding: 0 5vw;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 1024px) {
  .feature-grid, .service-list, .card-container, .testimonials-wrapper, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-list > div, .faq-list > div, .testimonial-card {
    min-width: unset;
    max-width: 98vw;
    width: 100%;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 4vw;
    margin-bottom: 38px;
  }
  header .container {
    height: 62px;
    padding: 0 10px;
    gap: 12px;
  }
  .logo img {
    height: 32px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-primary {
    font-size: 1.04rem;
    padding: 9px 22px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .section {
    padding: 20px 2vw;
    margin-bottom: 26px;
  }
  .container {
    padding: 0 4vw;
    max-width: 99vw;
  }
  .hero-subheadline {
    font-size: 1.04rem;
  }
}
@media (max-width: 480px) {
  .feature-grid > div, .service-list > div, .faq-list > div, .testimonial-card {
    padding: 15px 8px;
    font-size: 1rem;
  }
  .footer-info {
    font-size: 0.94rem;
  }
}

/* VIBRANT ENERGETIC STYLE EXTRAS ----------------------------- */
h1, h2 {
  color: var(--vibrant-blue);
  font-family: var(--font-display);
  font-weight: 800;
  text-shadow: 0 2px 10px #FFC30022;
}
h3 {
  font-family: var(--font-display);
  color: var(--vibrant-pink);
  font-weight: 700;
}
.cta-primary {
  background: linear-gradient(90deg, #FFC300 60%, #FF3576 100%);
  color: #17487A;
  text-shadow: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #FF3576 0%, #157aff 90%);
  color: #fff;
}
.cta-secondary {
  background: var(--vibrant-blue);
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vibrant-pink);
  color: #fff;
}
.feature-grid > div {
  border-left: 6px solid var(--vibrant-blue);
  border-top: 2px solid #E6E6FB;
  border-bottom: 2px solid #E6E6FB;
  border-right: none;
}
.feature-grid > div:hover {
  border-left-color: var(--vibrant-pink);
}
.testimonial-card {
  background: #FCFCFF;
  border-left: 6px solid var(--vibrant-pink);
  box-shadow: 0 2px 14px 0 rgba(84,42,255,0.11);
}
.faq-list > div {
  border-left: 6px solid var(--vibrant-lime);
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 6px solid var(--vibrant-blue);
  box-shadow: 0 -2px 24px 0 rgba(32,95,153,0.11);
  z-index: 2200;
  padding: 22px 28px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  animation: cookieBannerAppear 0.7s cubic-bezier(.17,1,.34,1);
}
@keyframes cookieBannerAppear {
  0% { transform: translateY(120%); opacity:0; }
  80% { opacity:1; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #17487A;
  font-weight: 500;
  margin: 0;
}
.cookie-banner button {
  margin-left: 10px;
}
.cookie-banner .cta-cookie {
  border: none;
  border-radius: 26px;
  padding: 8px 22px;
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: var(--vibrant-pink);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition-medium), color .16s;
}
.cookie-banner .cta-cookie.accept {
  background: var(--brand-accent);
  color: #17487A;
}
.cookie-banner .cta-cookie.reject {
  background: #e1e4ef;
  color: #205F99;
}
.cookie-banner .cta-cookie.settings {
  background: var(--vibrant-blue);
  color: #fff;
}
.cookie-banner .cta-cookie:hover, .cookie-banner .cta-cookie:focus {
  filter: brightness(0.96);
  outline: 2px solid #FFC30050;
}

.cookie-modal-overlay {
  display: flex;
  justify-content: center; 
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,95,153, 0.86);
  z-index: 3300;
  transition: opacity .27s;
  animation: cookieModalAppear .28s cubic-bezier(.23,.91,.42,1.01);
}
@keyframes cookieModalAppear {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 38px 24px 30px 24px;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 94vw;
  box-shadow: 0 6px 32px 0 rgba(32,95,153,0.18);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-accent);
}
.cookie-modal .cookie-category label {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: #17487A;
}
.cookie-modal .cookie-category.essential label {
  color: #205F99;
  font-weight: 600;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.cookie-modal .cta-cookie {
  min-width: 110px;
  padding: 8px 18px;
  border-radius: 22px;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 8px;
    align-items: flex-start;
  }
  .cookie-modal {
    padding: 22px 8px 18px 8px;
    min-width: 210px;
    font-size: 0.98rem;
  }
}

/* MISC VISUAL EFFECTS ----------------------------------------- */
::-webkit-scrollbar { width: 10px; background: #f7fafe; }
::-webkit-scrollbar-thumb { background: var(--vibrant-blue); border-radius: 20px; }

/* Accessibility helpers */
:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}
section {
  padding: 20px 0;
}
/* END ------------------------------------------------------------------- */
