/* ===== 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,
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.6;
  min-height: 100vh;
  background: #161829;
  color: #f2f6fa;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
input, textarea, button, select {
  font-family: inherit;
  outline: none;
  border: none;
}
button { cursor: pointer; background: none; }

/* ===== BRAND VARIABLES ===== */
:root {
  --color-primary: #1d4d5f;
  --color-secondary: #f8b400;
  --color-accent: #f2f6fa;
  --color-bg: #161829;
  --color-card-bg: #22243a;
  --neon-blue: #08f7fe;
  --neon-yellow: #f8b400;
  --neon-pink: #ff64f9;
  --danger: #ff537a;
  --safe: #2ff9a3;
  --shadow: 0 2px 20px rgba(8, 247, 254, 0.10), 0 1.5px 4px rgba(29, 77, 95, 0.20);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-blue);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  line-height: 1.18;
  text-shadow: 0 2px 16px rgba(8,247,254,0.11);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--neon-yellow);
  margin-bottom: 20px;
  letter-spacing: 0.015em;
  line-height: 1.22;
  text-shadow: 0 2px 16px rgba(248,180,0,0.06);
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h4, .h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
}
p,
ul,
ol,
li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #e7f1fd;
  margin-bottom: 12px;
}
strong, b { font-weight: bold; color: var(--neon-yellow); }
blockquote {
  background: var(--color-card-bg);
  padding: 20px 24px;
  border-left: 4px solid var(--neon-blue);
  border-radius: var(--radius);
  color: #fff;
  font-style: italic;
  font-size: 1.15rem;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
address { font-style: normal; color: var(--color-accent); }

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1190px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(8,247,254,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 26px var(--neon-blue), var(--shadow);
  transform: translateY(-4px) scale(1.02);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f2f6fa;
  border-radius: var(--radius);
  color: #22243a;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(8,247,254,0.045);
}
.testimonial-card blockquote {
  background: transparent;
  border-left: 4px solid var(--neon-blue);
  color: #1d4d5f;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0;
  box-shadow: none;
}
.testimonial-info strong { color: var(--color-primary); }
.testimonials .testimonial-card img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--neon-yellow);
  background: var(--color-bg);
  padding: 4px;
  box-shadow: 0 1.5px 6px rgba(29,77,95,0.08);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(8,247,254,0.035);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 44px 0 58px 0;
  background:
    radial-gradient(circle at 72% 21%, rgba(8,247,254,0.065) 20%, rgba(34,36,58,0.98) 90%),
    linear-gradient(120deg, #183864 48%, #1d253a 100%);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  position: relative;
  z-index: 0;
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--neon-blue);
}
.hero p {
  color: var(--color-accent);
  font-size: 1.17rem;
  font-weight: 400;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* ===== NAVIGATION BAR & HEADER ===== */
header {
  background: #181c25;
  box-shadow: 0 2px 18px rgba(8,247,254,0.025);
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 0;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #d0e7ff;
  padding: 7px 12px;
  border-radius: 20px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav a:hover:not(.btn-primary),
.main-nav a:focus:not(.btn-primary) {
  color: var(--neon-blue);
  background: rgba(8,247,254,0.12);
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-yellow) 90%);
  color: #1d253a;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 26px;
  padding: 11px 28px;
  border: none;
  box-shadow: 0 2px 14px rgba(8,247,254,0.12);
  text-shadow: 0 1px 5px rgba(248,180,0,0.07);
  transition: background var(--transition),color var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: 0.04em;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-blue) 100%);
  color: #161829;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 32px var(--neon-pink), 0 2px 15px rgba(8,247,254,0.09);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 26px;
  transition: background var(--transition),color var(--transition),box-shadow var(--transition),transform var(--transition);
  box-shadow: 0 2px 9px rgba(248,180,0,0.11);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #f8b400;
  transform: translateY(-1px) scale(1.03);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink) 95%);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 18px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  box-shadow: 0 1.5px 9px rgba(8,247,254,0.07);
  margin-left: 16px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-blue) 95%);
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  inset: 0 0 0 0;
  width: 100vw;
  height: 100vh;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #1d4d5f 88%, var(--neon-pink) 120%);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.46, 1.3, .5, .74);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 22px 18px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: var(--danger);
  font-size: 2rem;
  border-radius: 36px;
  align-self: flex-end;
  width: 45px;
  height: 45px;
  margin-bottom: 10px;
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 2px 12px rgba(255,83,122,0.13);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--safe);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px 14px;
  border-radius: 22px;
  color: #fff;
  background: rgba(8,247,254,0.07);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neon-blue);
  color: var(--color-primary);
}
@media (min-width: 1000px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
@media (max-width: 999px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  .mobile-menu { display: flex !important; }
}

/* ===== CARDS & FEATURES ===== */
.feature_grid, .services-list, .resources-guides, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature, .service, .resource-item, .profile {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  padding: 24px 18px 22px 18px;
  width: 310px;
  min-width: 260px;
  box-shadow: 0 1.5px 15px rgba(8,247,254,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover, .service:hover, .resource-item:hover, .profile:hover {
  box-shadow: 0 8px 40px var(--neon-blue), 0 1.5px 15px rgba(248,180,0,0.065);
  transform: translateY(-2.5px) scale(1.018);
}
.feature img, .service img, .resource-item img, .profile img {
  width: 46px; height: 46px;
  filter: drop-shadow(0 2px 7px var(--neon-blue));
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .feature, .service, .resource-item, .profile { width: 100%; min-width: 0; }
  .feature_grid, .services-list, .resources-guides, .team-profiles {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===== CONTACT LISTS ===== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 0 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-accent);
}
.contact-list img { width: 28px; height: 28px; }
.note {
  background: var(--color-primary);
  color: var(--neon-yellow);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 12px;
  font-size: 1.07rem;
  font-family: var(--font-body);
  box-shadow: 0 2px 14px rgba(8,247,254,0.09);
}

/* ===== LISTS, FAQS, PRINCIPLES, AND MISC ===== */
ul.brand-values, ul.benefits-list, .faq-list, .gdpr-list, .terms-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
  margin: 10px 0 8px 0;
}
ul.brand-values li, ul.benefits-list li, .faq-list li, .gdpr-list li, .terms-list li {
  padding: 12px 14px;
  background: var(--color-card-bg);
  color: var(--color-accent);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
  box-shadow: 0 1px 5px rgba(8,247,254,0.07);
}
.help-process {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  margin-left: 0;
}
.help-process li {
  background: var(--color-card-bg);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1.08rem;
  border-left: 3px solid var(--neon-yellow);
  margin-bottom: 0;
  box-shadow: 0 1.5px 8px rgba(248,180,0,0.04);
}

/* ===== FOOTER ===== */
footer {
  background: #181c25;
  padding: 36px 0 28px 0;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 44px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--color-accent);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon-yellow);
  background: rgba(248,180,0,0.08);
}
.footer-brand img {
  width: 58px; height: 58px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 1rem;
}
.footer-contact span { color: var(--neon-blue); }
footer address { color: #b6e1ec; font-size: 1rem; margin-bottom: 0; }

@media (max-width: 1000px) {
  .footer-nav { flex-direction: row; gap: 18px; flex-wrap: wrap; }
  footer .container { flex-direction: column; gap: 18px; align-items: flex-start; }
}

/* ===== BUTTONS, INPUTS, & HOVER TRANSITIONS ===== */
button, .btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  header .container { flex-direction: row; padding-left: 8px; padding-right: 8px; }
  .section { padding: 28px 6px; margin-bottom: 32px; }
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 14px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.3rem; }
  .feature_grid, .services-list, .resources-guides, .team-profiles {
    flex-direction: column;
    gap: 16px;
  }
  .feature, .service, .resource-item, .profile { width: 100%; }
  footer .container { gap: 10px; }
}
@media (max-width: 560px) {
  .hero { padding: 24px 0 32px 0; border-radius: 18px; min-height: 240px; }
  footer { border-radius: 0; padding: 14px 0 12px 0; margin-top: 18px; }
  .footer-brand img { width: 38px; height: 38px; }
}
@media (max-width: 430px) {
  h1, .h1 { font-size: 1.4rem; }
  .btn-primary, .btn-secondary { padding-left: 13px; padding-right: 13px; font-size: .98rem; }
}

/* ===== MICRO-INTERACTIONS, FOCUS & ACCESSIBILITY ===== */
a:focus, button:focus {
  outline: 2px dashed var(--neon-pink);
  outline-offset: 3px;
}
::selection {
  color: #fff; background: var(--neon-blue);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: #2a284b;
  color: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -2px 18px var(--neon-blue), 0 0.5px 7px #000a;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: slideUpIn 0.42s cubic-bezier(.37,1.63,.6,.99);
}
@keyframes slideUpIn {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-size: 1rem;
  border-radius: 16px;
  padding: 9px 18px;
  margin: 0 2px 0 0;
  min-width: 88px;
  box-shadow: 0 2px 8px rgba(8,247,254,0.07);
  border: none;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .accept {
  background: var(--safe);
  color: #151a20;
  font-weight: 700;
}
.cookie-banner .accept:hover {
  background: var(--neon-blue);
  color: #181c25;
}
.cookie-banner .reject {
  background: var(--danger);
  color: #fff;
  font-weight: 600;
}
.cookie-banner .reject:hover {
  background: #fff;
  color: var(--danger);
}
.cookie-banner .settings {
  background: var(--color-card-bg);
  color: var(--neon-pink);
  border: 1.2px solid var(--neon-pink);
}
.cookie-banner .settings:hover {
  background: var(--neon-pink);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 10px;
    font-size: .97rem;
  }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 4000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,23,51,0.90);
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.42s cubic-bezier(.34,1.39,.75,.94);
}
.cookie-modal.open { display: flex; }
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .cookie-dialog {
  background: #232a45;
  color: #f2f6fa;
  border-radius: 22px;
  padding: 36px 28px 28px 28px;
  min-width: 320px;
  box-shadow: 0 1.5px 28px var(--neon-blue), 0 0.5px 10px rgba(8,247,254,0.10);
  font-family: var(--font-body);
  max-width: 90vw;
  animation: modalSlideIn 0.33s cubic-bezier(.48,1.38,.56,1.0);
}
@keyframes modalSlideIn {
  0% { transform: translateY(60px); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-modal h2 {
  color: var(--neon-yellow);
  font-size: 1.3rem;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}
.cookie-modal label {
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--neon-blue);
  width: 19px;
  height: 19px;
}
.cookie-modal .alwayson {
  color: var(--safe);
  font-weight: bold;
  font-size: 1.05rem;
  margin-left: 7px;
}
.cookie-modal .cookie-dialog-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 26px;
}
.cookie-modal .btn-secondary, .cookie-modal .btn-primary {
  min-width: 92px;
}

/* ===== ANIMATIONS FOR COOKIES ===== */
@media (max-width: 420px) {
  .cookie-modal .cookie-dialog {
    min-width: 0;
    padding: 23px 5vw 17px 5vw;
    font-size: .95rem;
  }
}

/* ===== UTILITIES ===== */
.hide { display: none !important; }
.visible { display: inline-block !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }

/* ===== ENSURE CONSISTENT SPACING — NO ABSOLUTE FOR CARDS/TEXT BLOCKS! ===== */
.feature, .service, .resource-item, .profile, .testimonial-card, .card {
  margin-bottom: 24px;
}
.section:last-child,
footer .container:last-child {
  margin-bottom: 0 !important;
}

/* ======= BRANDING FLAIR: DECORATIVE NEON BORDER (OPTIONAL) ======= */
.card::before, .testimonial-card::before, .feature::before, .service::before, .resource-item::before {
  content: "";
  display: block;
  position: absolute;
  top: -3.5px; left: -3.5px; right: -3.5px; bottom: -3.5px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  border: 2.2px solid transparent;
  background:
    linear-gradient(120deg, transparent 60%, var(--neon-blue) 80%, var(--neon-pink) 95%, transparent 100%);
  filter: blur(2.6px);
  opacity: 0.38;
  transition: opacity var(--transition);
}
.card:hover::before, .testimonial-card:hover::before, .feature:hover::before, .service:hover::before, .profile:hover::before {
  opacity: 0.82;
}

/* ====== END ====== */
