/* 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, 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: #1A1B2D;
  color: #F8F8F7;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section, article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #41A675;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.64,.09,.08,1);
}
a:hover, a:focus {
  color: #ffffff;
  outline: none;
}

/* BRAND COLORS & FONTS */
:root {
  --primary: #22243D;
  --primary-dark: #18192a;
  --secondary: #41A675;
  --secondary-light: #57d6a6;
  --accent: #F8F8F7;
  --danger: #D72660;
  --accent-dark: #C3C3C3;
  --neon: #23ffd2;
  --neon-blue: #00FCFF;
  --text-main: #F8F8F7;
  --text-dark: #212135;
  --card-bg: #292B45;
  --card-hover: #323456;
  --shadow: 0 6px 32px 0 rgba(30,61,74,0.17), 0 1.5px 3px 0 rgba(0,0,0,0.043);
  --radius: 16px;
  --shadow-neon: 0 0 12px 2px var(--neon-blue);
}

body {
  background: linear-gradient(135deg, #22243D 0%, #1A1B2D 100%);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 12px;
}
strong {
  color: var(--neon-blue);
  font-weight: 700;
}

/* GENERAL STRUCTURE */
.container {
  width: 100%;
  max-width: 1136px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* SPACING & ALIGNMENT RULES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: background 0.18s, box-shadow 0.18s;
}
.card:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-neon);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f6f8fa;
  color: var(--text-dark);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 24px 0 rgba(34,36,61,0.08);
  border: 1.5px solid #d5ffd7;
  min-width: 250px;
  max-width: 400px;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 2px 28px 0 var(--secondary-light);
  border: 1.5px solid var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-grid,
  .feature-grid,
  .card-container,
  .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none !important;
  }
}

/* HEADER & NAVIGATION */
header {
  background: var(--primary);
  box-shadow: 0 4px 32px 0 rgba(34,36,61,.07);
  width: 100%;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 16px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
  padding: 4px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--neon);
  border-bottom: 2px solid var(--neon);
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(90deg,var(--secondary) 15%, var(--neon) 85%);
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 32px 0 rgba(65, 166, 117, 0.11);
  padding: 12px 32px;
  margin-left: 24px;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.22s, background 0.15s;
  display: inline-block;
  text-align: center;
  position: relative;
  z-index: 10;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--neon) 10%, var(--secondary) 90%);
  box-shadow: 0 0 20px 2px var(--neon);
  color: var(--primary);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--neon);
  cursor: pointer;
  z-index: 21;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: 8px;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,33,55,0.97);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.81,0,.22,1);
  width: 100vw;
  min-height: 100vh;
  padding: 48px 32px 32px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.38s cubic-bezier(.73,0,.18,1);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--neon);
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 36px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav a {
  font-size: 1.23rem;
  color: #f8f8f7;
  padding: 12px 0;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  border-bottom: 1px solid rgba(88,255,228,0.09);
  transition: color 0.15s, background 0.09s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-blue);
  background: rgba(34,36,61,0.018);
  border-radius: 8px;
}
@media (min-width: 1020px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero-section {
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #212135 0%, #294f88 100%);
  color: #F8F8F7;
  box-shadow: 0 12px 44px 0 rgba(34,36,61,0.17);
  padding-top: 52px;
  padding-bottom: 52px;
}
.hero-section h1 {
  font-size: 2.8rem;
  line-height: 1.06;
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--secondary-light), 0 2px 14px #1ca3a3;
  letter-spacing: 0.01em;
}
.hero-section p {
  font-size: 1.24rem;
  color: #ecfbf7;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-section .cta-btn {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hero-section {
    min-height: unset;
    padding: 36px 0 22px 0;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
}

/* FEATURE GRID (Index Page) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: var(--card-bg);
  padding: 28px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 310px;
  transition: box-shadow 0.2s, background 0.18s;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-neon);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px var(--neon));
}
.feature-grid h3 {
  color: var(--neon);
  margin-bottom: 4px;
}

/* TESTIMONIAL SLIDER (simple non-js, responsive rows) */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 6px;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: 0.015em;
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

.trusted-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}
.trusted-brands img {
  max-height: 40px;
  filter: grayscale(55%) brightness(1.25);
  opacity: 0.85;
}

/* BLOG STYLES */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.blog-categories span {
  font-weight: 700;
  color: var(--secondary);
  margin-right: 6px;
}
.blog-categories a {
  background: var(--primary-dark);
  color: var(--neon-blue);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.96rem;
  font-weight: 600;
  transition: background 0.13s, color 0.13s;
}
.blog-categories a:hover {
  background: var(--neon-blue);
  color: var(--primary);
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.post-list li {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 18px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.23s, background 0.13s;
  min-width: 200px;
}
.post-list li h3 {
  color: var(--neon-blue);
  margin-bottom: 8px;
  font-size: 1.17rem;
}
.post-list li a {
  font-weight: 600;
  margin-top: 12px;
  color: var(--secondary);
  text-decoration: underline;
}
.post-list li a:hover {
  color: var(--neon);
}

/* TEAM PAGE */
.team-member-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 12px;
}
.team-member-bios > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  min-width: 200px;
  max-width: 330px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, background 0.12s;
}
.team-member-bios > div:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-neon);
}
@media (max-width: 800px) {
  .team-member-bios {
    flex-direction: column;
    gap: 14px;
  }
}

/* FAQ SECTION */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
}
.faq > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px 16px 18px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
}
.faq h3 {
  color: var(--secondary);
  margin-bottom: 7px;
  font-size: 1.12rem;
}

/* CONTACT DETAILS & MAP */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 18px 0;
}
.contact-details > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  min-width: 180px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  color: var(--accent);
  margin-bottom: 20px;
}
.contact-details img {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 7px var(--neon));
}
.map {
  padding: 16px 0 0 0;
  color: var(--accent);
}

/* CTA SECTIONS */
.cta-section, .cta-section a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-section .cta-btn {
  margin-top: 12px;
}

/* FOOTER */
footer {
  background: var(--primary-dark);
  color: var(--accent);
  width: 100%;
  padding-top: 38px;
  padding-bottom: 28px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  border-top: 2px solid #263071;
}
.footer-logo img {
  max-height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--neon);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.13s;
}
.footer-nav a:hover {
  color: var(--secondary-light);
}
.footer-contact {
  color: var(--accent-dark);
  font-size: 0.97rem;
  line-height: 1.6;
}
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 28px;
  color: #a9bdfd;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-copy { margin-top: 24px; }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #232445 80%, #41A675 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  min-height: 72px;
  padding: 16px 6vw 14px 6vw;
  box-shadow: 0 -2px 24px 0 rgba(46,212,176,0.072);
  gap: 32px;
  animation: cookieBannerSlide .65s cubic-bezier(.48,.17,.34,1);
}
@keyframes cookieBannerSlide {
  from {transform: translateY(120%);} to {transform: translateY(0);}
}
.cookie-banner p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  font-size: 0.96rem;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(41,166,117,0.10);
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-btn.accept {
  background: var(--neon);
  color: var(--primary);
  box-shadow: 0 0 16px 3px var(--neon-blue);
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--secondary);
  border: 1.3px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--neon-blue);
  color: var(--primary-dark);
}
.cookie-preferences-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,26,32,0.93);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .35s cubic-bezier(.79,0,.18,1);
}
@keyframes modalFadeIn {
  from {opacity: 0} to {opacity: 1}
}
.cookie-modal-content {
  background: var(--primary-dark);
  color: var(--accent);
  padding: 36px 28px 32px 28px;
  border-radius: 20px;
  max-width: 420px;
  min-width: 270px;
  box-shadow: 0 12px 64px 0 rgba(41,166,117,0.09);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalSlideUp .37s cubic-bezier(.81,0,.22,1);
}
@keyframes modalSlideUp {
  from {transform:translateY(80px);opacity:0} to {transform:translateY(0);opacity:1}
}
.cookie-modal-content h3 {
  color: var(--neon);
  font-size: 1.17rem;
  margin-bottom: 3px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 11px;
  background: none;
  border: none;
  font-size: 1.64rem;
  color: var(--neon);
  cursor: pointer;
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 16px 9vw 10px 9vw;
    font-size: .98rem;
    min-height: 86px;
  }
  .cookie-modal-content {
    padding: 24px 10px 16px 10px;
    max-width: 97vw;
    min-width: unset;
  }
}

/* FORMS (if any added) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.3px solid var(--secondary);
  border-radius: 13px;
  padding: 10px 14px;
  background: #212135;
  color: #f8f8f7;
  transition: border 0.13s, background 0.13s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--neon-blue);
  background: #262846;
}

/* BUTTONS & MICRO-INTERACTIONS */
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 26px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s;
}
button:hover, button:focus {
  background: var(--neon);
  color: var(--primary);
}

/* LISTS & GENERAL ELEMENTS */
ul, ol {
  margin-left: 18px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 5px;
}

/* VISUAL HIERARCHY & SHADOWS */
.card, .feature-grid > div, .team-member-bios > div, .post-list li, .faq > div, .contact-details > div {
  box-shadow: var(--shadow);
}
.card, .feature-grid > div, .team-member-bios > div, .post-list li, .faq > div, .contact-details > div {
  border-radius: var(--radius);
}

/* TABLES (future proofing) */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  color: var(--accent);
  margin: 20px 0;
}
thead {
  background: var(--secondary);
  color: var(--primary);
}
th, td {
  padding: 11px 12px;
  border-bottom: 1px solid #31484d;
  font-size: .98rem;
}

/* ANIMATIONS */
.card, .feature-grid > div, .post-list li, .faq > div {
  transition: box-shadow 0.18s, background 0.18s, border-color 0.17s;
}
.cta-btn, button, .cookie-btn {
  transition: box-shadow 0.22s, background 0.18s, color 0.14s;
}

/* TEXT SELECTION */
::selection {
  background: var(--neon-blue);
  color: var(--primary);
}

/* SCROLLBAR STYLES (Webkit) */
::-webkit-scrollbar {
  width: 8px;
  background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--neon-blue);
  border-radius: 8px;
}

/* A11Y FOCUS STATES */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px solid var(--neon);
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header, .mobile-menu, .cookie-banner, footer {
    display: none !important;
  }
}
