/* =====================
   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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #101820;
  color: #f4f4f9;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; }

/* =====================
   BRAND & TYPOGRAPHY
====================== */
:root {
  --brand-primary: #183153;
  --brand-secondary: #26a69a;
  --brand-accent: #f4f4f9;
  --dark-bg: #101820;
  --light-bg: #222c37;
  --card-bg: #152337;
  --neon-cyan: #26a69a;
  --neon-blue: #00c6fb;
  --neon-violet: #7e57c2;
  --header-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #fff;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; }

p, li, ul, ol {
  font-family: var(--body-font);
  color: #f4f4f9;
  font-size: 1rem;
}
strong, b { color: var(--neon-cyan); }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =====================
   HEADER & NAVIGATION
====================== */
header {
  width: 100%;
  background: #101820;
  border-bottom: 2px solid var(--brand-secondary);
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--body-font);
  font-size: 1rem;
  color: #f4f4f9;
  padding: 4px 12px;
  border-radius: 4px;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--brand-secondary);
  color: #183153;
  outline: none;
}
header nav a.cta-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 22px;
  box-shadow: 0 0 8px 0 var(--neon-cyan), 0 2px 12px 0 rgba(25, 166, 154, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 18px 2px var(--neon-blue);
}

/* =============
   MOBILE MENU
=============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  z-index: 201;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #101820f2;
  z-index: 200;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,2,.5,1.2);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 30px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 210;
}
.mobile-menu-close:focus { outline: 2px solid var(--brand-secondary); }
.mobile-nav {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #f4f4f9;
  background: none;
  border-radius: 7px;
  width: 86vw;
  text-align: center;
  padding: 14px 0;
  letter-spacing: 0.6px;
  box-shadow: 0 0 8px 0 #1ce8b5a8;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 5px;
  will-change: background;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: var(--neon-blue);
  outline: none;
}

@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===============
   MAIN SECTIONS
================= */
section {
  width: 100%;
  background: #101820;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(25, 50, 80, 0.16);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section-dark {
  background: var(--light-bg);
}
@media (max-width: 600px) {
  section {
    padding: 22px 4px;
    border-radius: 12px;
    margin-bottom: 36px;
  }
}

/* ============
   FLEX GRIDS
============== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 8px;
  justify-content: space-between;
}
.features-grid > div {
  background: var(--card-bg);
  padding: 18px 20px 20px 20px;
  border-radius: 14px;
  box-shadow: 0 0 18px 0 #25fefd0e;
  flex: 1 1 215px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 180px;
  margin-bottom: 20px;
  border: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s, transform 0.24s;
  position: relative;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 26px 5px var(--neon-blue);
  transform: translateY(-3px) scale(1.025);
}
.features-grid img {
  width: 41px; height: 41px;
  filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.membership-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.membership-grid > div {
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 #7e57c244;
  padding: 20px 22px;
  flex: 1 1 250px;
  min-width: 200px;
  margin-bottom: 20px;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s, transform 0.22s;
}
.membership-grid > div:hover,
.membership-grid > div:focus-within {
  border: 2px solid var(--neon-violet);
  box-shadow: 0 0 22px 6px var(--neon-violet);
  transform: translateY(-3px) scale(1.022);
}

.specializations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.specializations-grid > div {
  background: var(--card-bg);
  border-radius: 13px;
  padding: 22px 20px;
  box-shadow: 0 0 12px 0 #26a69a44;
  flex: 1 1 220px;
  min-width: 175px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 13px;
  border: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s, transform 0.21s;
}
.specializations-grid > div:hover {
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 18px 6px var(--neon-cyan);
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
  .features-grid, .membership-grid, .specializations-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div, .membership-grid > div, .specializations-grid > div {
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* ==========
   CARDS
============ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 13px;
  box-shadow: 0 0 18px 0 #7e57c228;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 2px solid transparent;
  transition: border 0.18s, box-shadow 0.22s, transform 0.23s;
}
.card:hover, .card:focus-within {
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 18px 4px var(--neon-cyan);
  transform: translateY(-3px) scale(1.015);
}

/* For testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--brand-accent);
  color: #183153; /* dark text for contrast */
  border-radius: 13px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 1px #10182023;
  flex-wrap: wrap;
  font-size: 1.06rem;
  border-left: 5px solid var(--brand-secondary);
  transition: box-shadow 0.19s;
}
.testimonial-card strong {
  color: var(--brand-primary);
}

/* Ensure readable text on light testimonials */
.testimonial-card p, .testimonial-card strong {
  color: #183153;
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    font-size: 0.99rem;
    padding: 14px;
  }
}

/* card-content utility */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

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

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ============
   BUTTONS/CTAS
============== */
a.cta-primary, .cta-primary, button.cta-primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: var(--header-font);
  font-weight: bold;
  border: none;
  border-radius: 999px;
  box-shadow: 0 0 16px 0 var(--neon-cyan), 0 2px 20px 0 rgba(25, 166, 154, 0.09);
  padding: 12px 32px;
  font-size: 1.15rem;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  text-align: center;
  transition: background 0.23s, color 0.23s, box-shadow 0.23s, transform 0.16s;
  display: inline-block;
}
a.cta-primary:hover, a.cta-primary:focus,
button.cta-primary:hover, button.cta-primary:focus {
  background: var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 28px 6px var(--neon-blue);
  transform: scale(1.045);
}

/* Generic button */
button, input[type="submit"], .button {
  font-family: var(--body-font);
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  cursor: pointer;
  transition: background 0.21s, color 0.2s;
  margin: 4px 0;
}
button:hover, button:focus { background: var(--neon-blue); color: #fff; }

/* ============
   LIST STYLES
============== */
ul, ol {
  margin-left: 22px;
  margin-bottom: 10px;
}
ul li, ol li {
  margin-bottom: 7px;
}
ul li:before, ol li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 8px;
  height: 8px;
  background: linear-gradient(90deg, var(--neon-blue) 70%, var(--brand-secondary) 100%);
  border-radius: 99px;
  margin-right: 9px;
}

/* =====================
   FOOTER
====================== */
footer {
  background: #152337;
  width: 100%;
  border-top: 2px solid var(--brand-secondary);
  margin: 0 auto;
  padding: 40px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding-bottom: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 15px 0 12px 0;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: var(--brand-accent);
  font-family: var(--body-font);
  font-size: 1rem;
  transition: color 0.21s;
  padding: 3px 12px;
  border-radius: 5px;
}
footer nav a:hover,footer nav a:focus{color:var(--brand-secondary);background:rgba(38,166,154,0.07);outline:none}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  color: #b9e0da;
}
.footer-info > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer-info img { height: 20px; width: 20px; filter: drop-shadow(0 0 4px var(--neon-cyan)); }
@media (max-width: 900px) {
  footer .container {padding: 0 0 18px 0;}
  .footer-info {gap: 13px;}
}

/* ==========  FORMS & INPUTS (if present) ============ */
input[type="text"], input[type="email"], textarea {
  background: #111a25;
  color: #f4f4f9;
  border: 1.7px solid var(--brand-secondary);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  margin-bottom: 18px;
  width: 100%;
  transition: border 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.7px solid var(--neon-blue);
  outline: none;
}
label { font-weight: 500; font-family: var(--body-font); }

/* ===============
   COOKIE BANNER
================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(24,49,83,0.98);
  color: #fff;
  z-index: 3000;
  box-shadow: 0 -4px 20px 0 #26a69a44;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(.4,2,.5,1.15), opacity 0.29s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner button {
  font-family: var(--body-font);
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  padding: 9px 18px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 0 4px 1px #26a69a19;
}
.cookie-accept {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: bold;
}
.cookie-accept:hover,.cookie-accept:focus{background:var(--neon-blue);color:#fff}
.cookie-reject {
  background: #293b51;
  color: var(--brand-accent);
  border: 1px solid var(--brand-secondary);
}
.cookie-reject:hover,.cookie-reject:focus{background:var(--neon-violet);color:#fff}
.cookie-settings {
  background: none;
  color: var(--brand-accent);
  border: 1px solid var(--brand-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
@media (max-width:600px){.cookie-consent-banner{flex-direction:column;align-items:flex-start;padding:18px 6px}.cookie-consent-banner .cookie-buttons{width:100%;flex-direction:column;gap:10px}}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed; left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4000;
  background: rgba(16,24,32,0.79);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.4,2,0.5,1.15);
}
.cookie-modal.active {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: #183153;
  color: #f4f4f9;
  border-radius: 14px;
  padding: 30px 28px;
  min-width: 340px;
  max-width: 97vw;
  box-shadow: 0 6px 42px 1px #26a69ad5,0 3px 14px 0 #18315358;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #3c5777;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  margin-left: auto;
  margin-right: 4px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute; left: 2px; top: 3px;
  width: 18px; height: 16px;
  background: var(--brand-secondary);
  border-radius: 7px;
  transition: transform 0.19s, background 0.16s;
}
.cookie-toggle input:checked + .slider {
  background: var(--neon-blue);
  transform: translateX(18px);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .modal-actions button {
  padding: 8px 22px;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  right: 20px; top: 18px;
  background: none;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.17s;
}
.cookie-modal-close:focus { outline: 2px solid var(--brand-secondary); }
@media (max-width:450px){.cookie-modal-content{padding:20px 6px;min-width:0;}}

/* ==============
   ANIMATIONS
================ */
.cta-primary, a.cta-primary, .card, .testimonial-card, .specializations-grid > div, .membership-grid > div, .features-grid > div {
  transition: background 0.23s, color 0.23s, box-shadow 0.22s, border 0.21s, transform 0.18s;
}
.card, .specializations-grid > div, .membership-grid > div, .features-grid > div {
  will-change: transform, box-shadow;
}

/* =================
   MISC UTILITIES
================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.team-philosophy {
  background: #13203d;
  border-left: 4px solid var(--neon-cyan);
  border-radius: 10px;
  padding: 14px 19px;
  margin-top: 10px;
  font-size: 1.1rem;
  color: #b6e4e2;
}
.team-philosophy h3 {
  color: #fff;
  margin-bottom: 3px;
}

/* ------ SCROLLBAR ------ */
body::-webkit-scrollbar {
  width: 8px;
  background: #122134;
}
body::-webkit-scrollbar-thumb {
  background: var(--brand-secondary);
  border-radius: 9px;
}

/* ===========================
   RESPONSIVE LAYOUT & UTILS
=========================== */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  section {
    padding: 16px 6px 16px 6px;
    margin-bottom: 34px;
  }
}
@media (max-width: 600px) {
  main, .container {
    padding: 0 1.5vw;
  }
  .footer-info > div {font-size:.99rem;}
}

/* ====================
   FUTURISTIC EFFECTS
===================== */
.features-grid > div, .membership-grid > div, .specializations-grid > div, .card {
  box-shadow: 0 0 16px 0 #26a69a1c, 0 4px 16px 0 #10182015;
}
.features-grid > div:after, .membership-grid > div:after, .specializations-grid > div:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: 2%;
  top: 7%;
  right: 2%;
  bottom: 7%;
  border-radius: 14px;
  pointer-events: none;
  background: none;
  box-shadow: 0 0 43px 4px var(--brand-secondary), 0 0 8px 0 var(--brand-secondary);
  opacity: 0.02;
}
.features-grid > div:hover:after, .membership-grid > div:hover:after, .specializations-grid > div:hover:after, .testimonial-card:hover:after {
  opacity: 0.07;
}

/* Animated neon border (for call-to-action) */
a.cta-primary, .cta-primary, button.cta-primary {
  border: 2px solid transparent;
  box-shadow: 0 0 18px 0 var(--neon-blue), 0 2px 22px 0 #25fefd0a;
}
a.cta-primary:focus-visible {
  outline:2.5px solid var(--neon-blue);
}

/* =================
   OTHER PAGE STYLES
================== */
main {
  width: 100%;
  min-height: 60vh;
  padding: 0;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Utility for vertical spacing */
.mt-1 {margin-top:8px;} .mt-2{margin-top:16px;} .mt-3{margin-top:24px;} .mb-1{margin-bottom:8px;}
.mb-2{margin-bottom:16px;} .mb-3{margin-bottom:24px;}

/* Accessibility improvements */
:focus-visible {
  outline: 2px solid var(--neon-violet);
  outline-offset: 2px;
}
[tabindex="0"]:focus {
  outline: 2px solid var(--brand-secondary);
}

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

/* =============
   END OF CSS
============== */
