/* 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, menu, 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,
main, 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, main, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #1B2138;
  color: #EDF0F6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #60D5DD;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9af4fa;
}
ul, ol { list-style: none; }
strong { font-weight: 700; }
section { width: 100%; box-sizing: border-box; }

/* FONT IMPORT (Add fonts locally or as external links for prod) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* BRAND VARIABLES (Fallback mechanism) */
:root {
  --color-primary: #23396C;
  --color-secondary: #FFFFFF;
  --color-accent: #60D5DD;
  --color-background: #1B2138;
  --color-card-bg: #23294A;
  --color-card-bg-alt: #202845;
  --color-footer-bg: #182040;
  --color-text: #EDF0F6;
  --color-muted: #B6BEDC;
  --color-focus: #9af4fa;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-main: 0 4px 20px 0 #23396c33;
  --border-radius: 16px;
  --border-radius-sm: 10px;
}

/* LAYOUT & CONTAINERS --------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-main);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 34px 0 #60D5DD55;
  transform: translateY(-2px) scale(1.015);
}
.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg-alt);
  border-radius: var(--border-radius-sm);
  padding: 28px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 2px 10px 0 #23396c2a;
  border: 1.5px solid #23396c33;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 8px #60D5DD);
}
.feature-item:hover {
  box-shadow: 0 4px 25px 0 #60D5DD55;
  border-color: var(--color-accent);
}

/* HERO SECTION -------------- */
.hero {
  background: linear-gradient(125deg, #22345D 0%, #1B2138 90%);
  padding-top: 54px;
  padding-bottom: 64px;
}
.hero h1 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 2.4rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  line-height: 1.17;
}
.hero p {
  color: var(--color-muted);
  font-size: 1.18rem;
  margin-bottom: 24px;
  max-width: 540px;
}

/* TYPOGRAPHY -------------- */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  font-weight: 700;
}
h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-top: 12px; margin-bottom: 12px; }
h3 { font-size: 1.18rem; margin-top: 8px; }
blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-accent);
  background: #fff;
  padding: 14px 20px 12px 28px;
  border-radius: 10px;
  margin-bottom: 6px;
  margin-top: 4px;
  box-shadow: 0 2px 10px 0 #60D5DD11;
}
.founder-comment, .founder-message {
  color: var(--color-muted);
  font-style: italic;
  background: #23294a;
  padding: 14px 20px;
  border-radius: 10px;
  border-left: 2.7px solid var(--color-accent);
  font-size: 1.07em;
  margin-top: 18px;
}

/* BUTTONS & CTA -------------- */
.cta-primary, .cta-secondary {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  min-width: 164px;
  min-height: 44px;
  padding: 0 40px;
  font-size: 1.09rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 20px 0 #60D5DD50;
  letter-spacing: 0.5px;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, transform 0.18s;
}
.cta-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.7px solid var(--color-accent);
  margin-right: 18px;
}
.cta-primary:hover, .cta-primary:focus {
  background: #9af4fa;
  color: #182040;
  outline: none;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 32px 0 #60D5DD99;
}
.cta-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.7px solid var(--color-accent);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 4px 20px 0 #23396c44;
  transform: translateY(-2px) scale(1.021);
}
button {
  font-family: var(--font-body);
  outline: none;
}

/* HEADER & NAVIGATION -------------- */
header {
  width: 100%;
  background: #1B2138;
  box-shadow: 0 2px 14px #23396c17;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  color: var(--color-secondary);
  padding: 6px 2px;
  font-family: var(--font-display);
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.19s, border-color 0.17s;
}
nav a:hover, nav a.active {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 8px;
  font-size: 1.68em;
  padding: 4px 18px;
  display: none;
  cursor: pointer;
  margin-left: auto;
  box-shadow: 0 3px 12px #60D5DD55;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover {
  background: #9af4fa;
  color: #111d34;
}

/* MOBILE MENU -------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: linear-gradient(113deg, #23396C 85%, #60d5dd 100%);
  z-index: 2000;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.86,-0.01,.61,1.07);
  display: flex;
  flex-direction: column;
  opacity: 0.98;
  padding: 32px 24px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: var(--color-secondary);
  background: #60D5DD;
  border: none;
  align-self: flex-end;
  font-size: 2.1rem;
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 4px 16px;
  cursor: pointer;
  box-shadow: 0 3px 16px 0 #23396c30;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s, border-color 0.15s;
  width: 100%;
}
.mobile-nav a:hover {
  color: var(--color-accent);
  border-bottom: 1.5px solid var(--color-accent);
}

/* MAIN CONTENT & SECTIONS --------------- */
ul li, ol li {
  margin-bottom: 13px;
  padding-left: 2px;
  color: #d3e5fa;
}
ul li:last-child {
  margin-bottom: 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.category-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.99em;
  color: var(--color-muted);
}
.category-filter a {
  color: var(--color-accent);
  font-weight: 500;
}
.category-filter a:hover { text-decoration: underline; }

.growth-chart ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.growth-chart li {
  background: #23294A;
  color: #60D5DD;
  font-weight: bold;
  padding: 8px 24px;
  border-radius: 12px;
  margin-bottom: 0;
  font-size: 1em;
}

.contact-details, .contact-info-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d3e5fa;
}
.contact-details img, .contact-info-cta img {
  height: 19px;
  width: 19px;
  margin-right: 12px;
  vertical-align: middle;
  filter: brightness(120%) drop-shadow(0 0 8px #60D5DD);
}
.contact-info-cta a {
  color: var(--color-accent);
  font-weight: 500;
}

/* FAQ / ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion h3 {
  cursor: pointer;
  color: var(--color-accent);
  margin-bottom: 0;
}
.faq-accordion p {
  background: #202845;
  border-radius: 10px;
  padding: 8px 16px;
  margin-bottom: 10px;
  color: #d7ecff;
}

/* TESTIMONIALS -------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #222e49;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 #23396c1a;
  padding: 20px;
  margin: 12px 0 20px 0;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 650px;
}
.testimonial-card blockquote {
  border-left: 4px solid var(--color-accent);
  background: #fbfeff;
  color: #222e49;
  font-style: italic;
  font-size: 1.08em;
  box-shadow: none;
  padding-left: 16px;
  margin-bottom: 0;
}
.testimonial-author {
  color: #23396C;
  font-weight: 700;
  font-size: 0.95em;
  margin-left: 14px;
}

/* FOOTER ------------------- */
footer {
  background: var(--color-footer-bg);
  color: var(--color-muted);
  width: 100%;
  padding: 0 0 24px 0;
  margin-top: 72px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.96em;
  margin: 16px 0 0 0;
  color: var(--color-muted);
}
.footer-navigation a {
  color: var(--color-accent);
}
.footer-navigation a:hover { text-decoration: underline; }
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.social-media {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.social-media a img {
  width: 32px; height: 32px;
  filter: drop-shadow(0 0 4px #60D5DD);
  transition: filter 0.16s;
}
.social-media a:hover img {
  filter: drop-shadow(0 0 8px #60D5DD) brightness(1.3);
}
.company-details {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #B6BEDC;
  font-size: 0.98em;
}
.company-details img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px #60d5dd88);
}
.legal {
  text-align: center;
  color: #6d789a;
  font-size: 0.91em;
  margin-top: 9px;
}

/* COOKIE CONSENT BANNER -------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #fff;
  color: #182040;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -6px 34px 0 #23396c22;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 100vw;
  opacity: 0.97;
  transition: transform 0.33s cubic-bezier(.88,-0.09,.71,1.11);
  transform: translateY(200%);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner .cookie-text {
  font-size: 1.01rem;
  color: #182040;
  max-width: 590px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  font-family: var(--font-display);
  border: none;
  border-radius: 18px;
  font-size: 0.99rem;
  font-weight: 700;
  min-width: 110px;
  min-height: 38px;
  padding: 0 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 #60D5DD25;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.accept:hover { background: #81e2eb; }
.cookie-btn.reject {
  background: #edf3fa;
  color: var(--color-primary);
  border: 1.3px solid #23396c33;
}
.cookie-btn.reject:hover { background: #f7fdff; }
.cookie-btn.settings {
  background: transparent;
  color: var(--color-accent);
  border: 1.3px solid var(--color-accent);
}
.cookie-btn.settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* COOKIE PREFERENCES MODAL --------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3500;
  left:0; top:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: #0e132258;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  color: #23396C;
  padding: 32px 28px 24px 28px;
  border-radius: 18px;
  box-shadow: 0 2px 44px 0 #23396c44;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .42s cubic-bezier(.67,-0.01,.91,.72);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.8) translateY(70px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.23rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
}
.cookie-category .category-label {
  font-weight: 700;
  font-family: var(--font-display);
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-accent);
}
.cookie-label-required {
  color: #aaa;
  font-size: 0.95em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn.close {
  background: #23396C;
  color: #fff;
}
.cookie-modal .cookie-btn.close:hover {
  background: #60D5DD;
  color: #182040;
}

/* ANIMATIONS & MICRO-INTERACTIONS ---------- */
.cta-primary, .cta-secondary,
.button, .cookie-btn {
  transition: background 0.16s, color 0.15s, box-shadow 0.18s, transform 0.15s;
}
.card, .feature-item, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.17s, border-color 0.16s;
}

/* SPACING & FLEXBOx as requested ---------- */
.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; }

/* RESPONSIVE - MOBILE FIRST ---------- */
@media (max-width: 992px) {
  .container { max-width: 970px; }
  .feature-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .container { max-width: 98vw; padding-left: 9vw; padding-right: 9vw; }
  .hero { padding-top: 30px; padding-bottom: 36px; }

  .header .container, header .container {
    flex-wrap: wrap;
    gap: 7px;
    flex-direction: row;
  }
  nav { display: none; }
  .mobile-menu-toggle { display: block; z-index: 3001; }
  .cta-primary { margin-right: 0; margin-top: 9px; }
}
@media (max-width: 620px) {
  .container { padding-left:4vw; padding-right:4vw; }
  .content-wrapper { gap: 16px; }
  .feature-item, .card { min-width: 100%; }
  .growth-chart ul { gap: 10px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1rem; }
  .section { padding: 28px 5px; margin-bottom: 40px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap:0; padding:14px 5px 12px 5px;}
  .cookie-banner .cookie-actions { gap: 8px;}
  .mobile-menu { padding: 24px 5px 10px 5px;}
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.2rem; }
}

/* Prevent overlapping - SPACING between all content elements */
.card, .feature-item, .testimonial-card, .section, .content-wrapper, .card-container, .content-grid, .text-image-section {
  margin-bottom: 20px;
}
.card:last-child, .feature-item:last-child, .testimonial-card:last-child, .section:last-child, .content-wrapper:last-child,
.card-container:last-child, .content-grid:last-child, .text-image-section:last-child {
  margin-bottom: 0;
}

/* UTILITY CLASSES --------- */
.hide { display:none!important; }
.flex { display: flex!important; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

/* Accessibility - Focus Styles */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  background: #d0fcfd60;
}

/* OVERLAY Z-INDEX stacking */
.mobile-menu { z-index: 2000; }
.mobile-menu-toggle { z-index: 3000; }
.cookie-banner { z-index: 3000; }
.cookie-modal-overlay { z-index: 3500; }

/* END OF CSS */