/* ================================
   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;
  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: #152335;
  color: #f6f8ff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  outline: none;
}
ul, ol {
  list-style-type: none;
}

/* ================================
     VARIABLES (fallbacks included)
=================================== */
:root {
  --primary: #233b5b;
  --primary-dark: #152335;
  --secondary: #88bcd8;
  --accent: #fff9f2;
  --neon-blue: #67ecff;
  --neon-pink: #ff7fec;
  --neon-green: #28ffd2;
  --gray-1: #263143;
  --gray-2: #435573;
  --white: #fbfbfd;
  --shadow: 0 4px 24px rgba(50, 222, 255, 0.08), 0 1.5px 10px rgba(153, 255, 255,0.16);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ======================
    TYPOGRAPHY
====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--neon-blue);
  line-height: 1.2;
}
h1 { font-size: 2.4rem; letter-spacing: -1px; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--secondary); }
h4 { font-size: 1.1rem; }
p, li, span, label {
  font-family: var(--font-body), Arial, Helvetica, sans-serif;
  color: #f6f8ff;
  font-size: 1rem;
  font-weight: 400;
}
p { margin-bottom: 16px; line-height: 1.7; }
strong { color: var(--neon-green); font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
}

/* ======================
    GENERAL CONTAINERS
====================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container { padding: 0 8px; }
}

/* ======================
    HEADER & NAVIGATION
====================== */
header {
  background: var(--primary-dark);
  box-shadow: 0 1.5px 10px rgba(67, 236, 255, 0.09);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
header img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 6px var(--neon-blue));
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon-green);
  border-bottom: 2px solid var(--neon-blue);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(93deg, var(--neon-blue) 30%, var(--neon-pink) 100%);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 12px 30px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 0 12px 0 #67ecff90;
  cursor: pointer;
  margin-left: 18px;
  transition: var(--transition), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
  position: relative;
  outline: none;
  text-shadow: 0 2px 9px #15233533;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(93deg, var(--neon-pink) 22%, var(--neon-blue) 100%);
  color: #233b5b;
  box-shadow: 0 2px 32px var(--neon-pink);
  transform: translateY(-2px) scale(1.035);
}

@media (max-width: 1024px) {
  .main-nav { gap: 18px; }
  .btn-primary { padding: 11px 20px; margin-left: 8px; }
}

/* ======================
   MOBILE NAVIGATION
====================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--neon-blue);
  font-size: 2rem;
  display: none;
  align-items: center;
  cursor: pointer;
  z-index: 102;
  transition: color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--neon-pink);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(25,42,65,0.96);
  box-shadow: 0 0 80px 8px #67ecff33;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.7,0,.65,1.0);
  z-index: 201;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  gap: 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--neon-blue);
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--neon-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neon-blue);
  color: var(--primary-dark);
  text-shadow: 0 2px 16px var(--neon-green);
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}


/* =======================================
   HERO SECTIONS & SECTION BACKGROUNDS
======================================== */
.hero {
  background: linear-gradient(97deg, #1c2742 0%, #25344c 75%, #293d5a 100%);
  box-shadow: 0 12px 60px 0 #67ecff23;
  padding: 56px 0 44px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.hero h1 {
  color: var(--neon-blue);
  text-shadow: 0 0 40px #28ffd280, 0 3px 16px #233b5b66;
}
.hero p {
  color: var(--accent);
  font-size: 1.12rem;
}
.hero .btn-primary {
  margin-top: 16px;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .hero { padding: 36px 0 20px 0; }
}

/* =======================================
      CTA Section
======================================== */
.cta {
  background: #1c2537;
  border-top: 2px solid var(--neon-blue);
  box-shadow: 0 4px 46px #67ecff1a;
  margin-bottom: 0;
  padding: 48px 0 48px 0;
}
.cta h2 {
  color: var(--neon-pink);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  font-size: 2rem;
}
.cta p {
  color: #fff9f2;
  font-size: 1.09rem;
  margin-bottom: 22px;
}
.cta .btn-primary {
  font-size: 1.11rem;
  margin-top: 10px;
}


/* =======================================
        FEATURE SECTIONS (ICON !)       
======================================== */
.features, .features-values, .features-events, .features-blog, .features-contact, .features-resources, .features-methodology {
  background: #202f4a;
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: 0 2px 24px #67ecff0d;
  padding: 48px 0 36px 0;
}
.features h2, .features-values h2, .features-events h2, .features-blog h2, .features-contact h2, .features-resources h2, .features-methodology h2 {
  color: var(--neon-green);
  margin-bottom: 20px;
  text-shadow: 0 0 12px #28ffd255;
}
.features ul, .features-values ul, .features-events ul, .features-blog ul, .features-contact ul, .features-resources ul, .features-methodology ul, .features-methodology ol {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul li, .features-values ul li, .features-events ul li, .features-blog ul li, .features-contact ul li, .features-resources ul li, .features-methodology ul li, .features-methodology ol li  {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #263143aa;
  color: var(--accent);
  border-radius: 12px;
  font-size: 1rem;
  padding: 12px 18px;
  margin-bottom: 4px;
  position: relative;
  box-shadow: 0 0.5px 4px #67ecff19;
}
.features ul li img, .features-values ul li img, .features-events ul li img, .features-blog ul li img, .features-contact ul li img, .features-resources ul li img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 6px var(--neon-blue));
}
.values-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px; 
  margin-bottom: 18px;
}
.values-icons > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--neon-blue);
  padding: 8px 20px;
  background: #28314a;
  border-radius: 14px;
  font-size: 1.05rem;
  transition: box-shadow 0.23s;
  box-shadow: 0 1px 8px #67ecff27;
}
.values-icons img {
  width: 28px; height: 28px; filter: drop-shadow(0 0 8px var(--neon-green));
}

/* =======================================
            TESTIMONIALS
======================================== */
.testimonials {
  background: #25344c;
  border-radius: var(--radius);
  margin-bottom: 60px;
  box-shadow: 0 6px 38px #67ecff1d;
  padding: 42px 0 38px 0;
}
.testimonials h2 {
  color: var(--neon-pink);
  text-shadow: 0 0 10px #ff7fec60;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 24px;
  min-width: 0;
  background: #fff9f2;
  color: #25344c;
  border-radius: 14px;
  box-shadow: 0 3px 22px #233b5b18, 0 0 1.5px #67ecff44;
  margin-bottom: 20px; /* for min gap if stacking */
  position: relative;
  min-width: 260px;
  max-width: 360px;
  font-size: 1.01rem;
  transition: box-shadow 0.21s, transform 0.24s;
}
.testimonial-card p {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
}
.testimonial-card span {
  color: var(--gray-2);
  font-size: 0.96rem;
  font-family: var(--font-body);
  font-style: italic;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 32px #67ecff35, 0 0 8px #28ffd233;
  transform: translateY(-3px) scale(1.012);
}
@media (max-width: 900px) {
  .testimonials .content-wrapper { flex-direction: column; gap: 16px; }
  .testimonial-card { max-width: 100%; }
}

/* =======================================
               CARDS
======================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #202f4a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  min-width: 250px;
  transition: box-shadow 0.23s, transform 0.19s;
  z-index: 1;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px #67ecff43, 0 0 12px #28ffd259;
  transform: translateY(-2px) scale(1.012);
}

/* =======================================
          TEXT-IMAGE GRID SECTION
======================================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 20px; }
}

/* =======================================
           SPECIAL FLEX LAYOUTS
======================================== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #2a415f;
  color: var(--accent);
  padding: 16px 20px;
  border-radius: 12px;
  min-width: 200px;
  box-shadow: 0 1px 10px #67ecff18;
}
@media (max-width: 800px) {
  .content-grid { flex-direction: column; gap: 14px; }
}

/* =======================================
           FOOTER SECTION
======================================== */
footer {
  background: #152335;
  color: #e4ecfa;
  border-top: 2px solid var(--neon-blue);
  box-shadow: 0 0 24px #67ecff0b;
  padding: 0 0 18px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0 0 0;
}
.footer-top img {
  height: 38px;
  filter: drop-shadow(0 0 8px var(--neon-blue));
}
.footer-menu {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #e7ffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.16s, text-shadow 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--neon-green);
  text-shadow: 0 1.5px 18px var(--neon-blue);
}
.footer-contact {
  font-size: 0.98rem;
  color: #cbe0ff;
  padding-bottom: 6px;
}
.footer-contact img {
  width: 16px; height: 16px; margin-bottom: -2px; margin-right: 8px;
  filter: drop-shadow(0 0 6px var(--neon-blue));
}
.footer-copy {
  font-size: 0.95rem;
  color: #8ab2d7;
  padding-top: 10px;
}

@media (max-width: 700px) {
  footer .container { gap: 12px; padding: 0 8px; }
  .footer-menu { gap: 9px; }
  .footer-top { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* =======================================
              MISC ELEMENTS
======================================== */
section {
  margin-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
}
ul li, ol li {
  margin-left: 0;
}

/* Info blocks (about, policies, legal) */
.privacy-policy, .rgpd-policy, .cookies-policy, .terms-of-use {
  background: #202f4a;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px #67ecff0d;
  margin-bottom: 60px;
  padding: 48px 0 32px 0;
}

/* ============ RESPONSIVE ========== */
@media (max-width: 450px) {
  .hero h1, .cta h2, h1, h2 {
    font-size: 1.13rem !important;
  }
  .container, footer .container {
    padding-left: 4px; padding-right: 4px;
  }
}

/* ========== BUTTONS, INTERACTIONS, MICRO-ANIM ========== */
button, .btn-primary {
  transition: box-shadow 0.18s, color 0.18s, background 0.23s, transform 0.20s;
}
button:active, .btn-primary:active {
  transform: scale(0.97);
}

/* links in content */
a:not(.btn-primary):not(.main-nav a):not(.footer-menu a):not(.mobile-nav a) {
  color: var(--neon-pink);
  text-decoration: underline;
  transition: color 0.19s;
  font-weight: 600;
}
a:not(.btn-primary):not(.main-nav a):not(.footer-menu a):hover {
  color: var(--neon-blue);
}

/* =======================================
    COOKIE CONSENT BANNER & MODAL
======================================== */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) scale(1);
  min-width: 280px;
  max-width: 96vw;
  background: #233b5b;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 38px #67ecff2d, 0 0 7px #28ffd226;
  z-index: 402;
  padding: 22px 30px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 1;
  transition: opacity 0.24s, transform 0.27s;
  border: 1.5px solid var(--neon-green);
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.94);
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 11px;
  padding: 8px 22px;
  margin-top: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 10px #28ffd244;
}
.cookie-btn-accept {
  background: var(--neon-green);
  color: #25344c;
}
.cookie-btn-accept:hover {
  background: var(--neon-blue);
  color: #233b5b;
}
.cookie-btn-reject {
  background: #435573;
  color: #fff;
}
.cookie-btn-reject:hover {
  background: #152335;
  color: var(--neon-pink);
}
.cookie-btn-settings {
  background: none;
  border: 1.5px solid var(--neon-blue);
  color: var(--neon-blue);
}
.cookie-btn-settings:hover {
  background: #233b5b;
  color: var(--neon-green);
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 410;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(22,39,54,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #232f4b;
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 44px #67ecff46;
  padding: 42px 30px 28px 30px;
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 2.5px solid var(--neon-green);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--neon-blue);
  margin-bottom: 5px;
}
.cookie-categories {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: #fff9f2;
  font-size: 1.02rem;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: var(--neon-green);
  margin-right: 8px;
}
.cookie-category.essential {
  color: var(--neon-green);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  background: none;
  color: var(--neon-blue);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: var(--neon-green);
}

/* ========== DARK/READABILITY FOR TESTIMONIALS & CARDS ========== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #233b5b !important;
  background: #fff9f2 !important;
}

/* ========== SCROLLBAR FUTURISTIC ========== */
::-webkit-scrollbar { width: 10px; background: #1c2536; }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 10px; }

/* ============ SELECTION COLOR ========== */
::selection {
  background: #67ecff;
  color: #152335;
}

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