/* ------------------
   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 {box-sizing: border-box;margin:0;padding:0;border:0;vertical-align:baseline;}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display:block;}
body {line-height:1;}
ol, ul {list-style:none;}
a {text-decoration:none;color:inherit;}
img {max-width:100%;display:block;}
button {font:inherit;background:none;border:none;outline:none;cursor:pointer;}

/* ------------------
   BRAND VARIABLES
------------------- */
:root {
  --color-primary: #10436A;
  --color-secondary: #1FA688;
  --color-accent: #F4F4F9;
  --color-bg-dark: #08192B;
  --color-bg-card: #122742;
  --color-bg-gradient: linear-gradient(120deg, #0a2743 0%, #193c5c 70%, #122742 100%);
  --color-neon: #1FA688;
  --color-neon-light: #2bfab8;
  --color-white: #fff;
  --color-black: #222838;
  --color-grey: #b5c3d6;
  --color-grey-light: #e8eef6;
  --color-shadow: rgba(31,166,136,0.10);
  --transition-main: 0.24s cubic-bezier(.61,.16,.58,1);
  --border-radius-lg: 18px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
  --shadow-lg: 0 4px 36px 0 rgba(31,166,136,0.13);
  --shadow-md: 0 2px 18px 0 rgba(46,227,198,0.09);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
  background: var(--color-bg-gradient);
  min-height: 100vh;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

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

/* ----------------
   TYPOGRAPHY
----------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  color: var(--color-white);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 10px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.125rem; }
p, li { color: var(--color-grey); font-size: 1rem; margin-bottom: 10px; }
.text-section p { margin-bottom: 8px; }
blockquote {
  font-style: italic;
  color: var(--color-primary);
  background: var(--color-accent);
  border-left: 4px solid var(--color-secondary);
  padding: 24px 34px;
  margin: 0 0 12px 0;
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 10px var(--color-shadow);
}
cite {
  font-style: normal;
  color: var(--color-secondary);
  font-weight: 600;
  margin-left: 18px;
}

.tagline { font-size: 1.25rem; color: var(--color-grey-light); margin-bottom: 20px; font-weight: 500; }

/* ----------------
   HEADER/NAV
----------------- */
header {  background: var(--color-bg-card);  box-shadow: 0 2px 12px var(--color-shadow);  }
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 0;
}
.logo img { height: 40px; transition: filter .16s; }
.logo img:hover { filter: brightness(2) drop-shadow(0 0 12px var(--color-neon)); }
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 0 2px;
  transition: color var(--transition-main);
}
nav a:not(.cta-primary):hover, nav a:not(.cta-primary):focus {
  color: var(--color-neon);
}
.cta-primary {
  background-color: var(--color-neon);
  color: var(--color-black);
  border-radius: var(--border-radius-md);
  box-shadow: 0 2px 16px var(--color-shadow);
  font-weight: bold;
  padding: 10px 26px;
  font-size: 1.08rem;
  letter-spacing: 0.4px;
  border: none;
  transition: filter var(--transition-main), background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  filter: brightness(1.08) drop-shadow(0 0 20px var(--color-neon-light));
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--color-neon);
  background: none;
  border: none;
  padding: 8px 10px;
  margin-left: 24px;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-main);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ------------------------
  MOBILE NAV SLIDE MENU
------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-card);
  box-shadow: 0 0 48px var(--color-shadow);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.68,-0.46,.23,1.38);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--color-neon);
  background: none;
  border: none;
  margin: 22px 24px;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-main);
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--color-secondary); color: var(--color-white); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 40px;
}
.mobile-nav a {
  color: var(--color-white);
  font-size: 1.27rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 0;
  transition: color var(--transition-main), background var(--transition-main);
  border-radius: var(--border-radius-sm);
}
.mobile-nav a:hover, .mobile-nav a:focus { color: var(--color-neon); background: rgba(31,166,136,0.10); }

@media (max-width: 1024px) {
  nav { gap: 19px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  header .container, .content-wrapper { gap: 14px; }
  nav { gap: 10px; }
}
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 12px; }
}

/* ------------------
   HERO SECTION
------------------- */
.hero {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  margin-top: 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero h1 > span {
  color: var(--color-neon);
  text-shadow: 0 0 5px var(--color-neon);
}
.hero ul {
  margin: 30px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero ul li {
  color: var(--color-accent);
  font-size: 1.13rem;
  font-family: var(--font-body);
  position: relative;
  padding-left: 26px;
}
.hero ul li::before {
  content: "»";
  color: var(--color-neon);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 1.12rem;
  letter-spacing: -1px;
}

/* ----------------------
   HIGHLIGHTS & FEATURES
----------------------- */
.highlights, .features, .mission, .values, .trust-signals {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}
.highlights ul, .features ul, .mission ul, .values ul, .trust-signals ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.09rem;
}
.highlights ul li, .features ul li, .mission ul li, .values ul li, .trust-signals ul li {
  position: relative;
  padding-left: 28px;
  color: var(--color-grey);
}
.highlights ul li::before,
.features ul li::before,
.mission ul li::before,
.values ul li::before,
.trust-signals ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: var(--color-neon);
  font-size: 1.17rem;
  margin-right: 7px;
}
.mission ul li::before, .values ul li::before, .trust-signals ul li::before {
  content: "";
  left: 0;
}

/* -------------
   CARDS
-------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px 20px 28px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
  border: 1px solid rgba(31,166,136,0.12);
}
.card:hover, .card:focus {
  box-shadow: 0 2px 32px 0 rgba(31,166,136,0.19);
  transform: translateY(-2px) scale(1.02);
}

.card-content { display: flex; flex-direction: column; justify-content: center; }

.card h3 { color: var(--color-neon); margin-bottom: 9px; }

/* ---------------
   FLEX GRID
---------------- */
.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;
}

@media (max-width:768px) {
  .section, .hero, .highlights, .features, .mission, .values {
    padding: 28px 8px;
  }
  .content-wrapper { gap: 20px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .card-container, .content-grid { flex-direction: column; gap: 18px; }
}

/* ----------------
   TESTIMONIAL
----------------- */
.testimonial, .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
}
.testimonial-card {
  background: var(--color-accent);
  color: var(--color-black);
  box-shadow: 0 2px 20px 0 rgba(22,41,94,0.10);
  border-radius: var(--border-radius-lg);
  padding: 20px 34px 14px 34px;
  min-width: 250px;
  max-width: 540px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.07rem;
  padding: 0 8px 0 0;
  margin: 0 0 8px 0;
  box-shadow: none;
}
.testimonial-card cite {
  color: var(--color-secondary);
  margin-left: 0;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card h3 {
  color: var(--color-primary);
  font-size: 1.12rem;
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .testimonial-card { padding: 18px 10px 12px 10px; }
}

/* Accessibility: Testimonial cards' text must have readable contrast on light backgrounds. */

/* --------------
   LIST styles
---------------- */
ul, ol { padding-left: 24px; }
ul li, ol li {
  padding-left: 0;
  margin-bottom: 7px;
  color: var(--color-grey);
  font-size: 1rem;
}

/* --------------
   TABLES
---------------- */
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td {
  border: 1px solid var(--color-grey-light);
  padding: 10px;
  color: var(--color-black);
  background: var(--color-accent);
  font-size: 1rem;
}
th { background: var(--color-grey-light); }

/* ----------------
   BUTTONS
----------------- */
button, .button, input[type=submit] {
  font-family: var(--font-display);
  font-size: 1.06rem;
  background: var(--color-neon);
  color: var(--color-black);
  border: none;
  border-radius: var(--border-radius-md);
  padding: 10px 28px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), filter var(--transition-main);
  outline: none;
}
button:hover, button:focus, .button:hover, .button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  filter: brightness(1.06) drop-shadow(0 0 6px var(--color-neon-light));
}

/* --------------
   FOOTER
---------------- */
footer {
  background: var(--color-bg-card);
  box-shadow: 0 -2px 14px var(--color-shadow);
  padding: 50px 0 32px 0;
  margin-top: 60px;
  color: var(--color-white);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
}
.footer .logo-footer img { height: 38px; }
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
footer nav a {
  color: var(--color-grey);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 2px 0;
  border-radius: var(--border-radius-sm);
  transition: color var(--transition-main), background var(--transition-main);
}
footer nav a:hover, footer nav a:focus { color: var(--color-neon); background: rgba(31,166,136,0.06); }
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--color-grey-light);
  font-size: 0.99rem;
  background: rgba(16,67,106,0.08);
  padding: 16px 24px;
  border-radius: var(--border-radius-md);
  margin-top: 5px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.contact-info h4 {
  color: var(--color-secondary);
  font-size: 1.10rem;
  margin-bottom: 4px;
}
.contact-info img {
  height: 1em;
  width: 1.15em;
  display: inline-block;
  margin-right: 7px;
  position: relative;
  top: 2px;
  filter: brightness(0.9) contrast(1.2) drop-shadow(0 0 2px var(--color-neon));
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ---------------
   CTA-BOTTOM
---------------- */
.cta-bottom {
  background: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-bottom h2{
  color: var(--color-neon);
  margin-bottom: 20px;
}
.cta-bottom .cta-primary{
  margin-top: 8px;
  font-size: 1.13rem;
}

/* ---------------
    PAGE SPECIFIC
---------------- */
/* Article, course, tip, FAQ, details lists */
.article-list ul, .course-list ul, .tip-list ul, .faq-list ul, .privacy-details ul, .gdpr-details ul, .cookie-details ul, .terms-details ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 14px;
}
.article-list ul li, .course-list ul li, .tip-list ul li, .faq-list ul li {
  background: var(--color-bg-card);
  color: var(--color-accent);
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 16px 20px 13px 22px;
  margin-bottom: 10px;
  font-size: 1.10rem;
  position: relative;
  flex: 1 1 310px;
  transition: box-shadow var(--transition-main), border var(--transition-main); 
  border: 1px solid rgba(31,166,136,0.10);
}
.article-list ul li:hover, .course-list ul li:hover, .tip-list ul li:hover, .faq-list ul li:hover {
  box-shadow: 0 2px 24px 0 rgba(19, 226, 199,0.15);
  border: 1px solid var(--color-neon);
}
.article-list ul li b, .course-list ul li b, .tip-list ul li b, .faq-list ul li b {
  color: var(--color-neon);
  font-weight: 700;
}

/* ---------------
   COOKIE CONSENT
---------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-bg-card);
  color: var(--color-accent);
  box-shadow: 0 -6px 20px rgba(16,67,106,.13);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 22px 16px 24px 16px;
  gap: 32px;
  z-index: 1005;
  font-size: 1rem;
  transition: transform .32s;
}
#cookie-banner.hide {
  transform: translateY(110%);
}
#cookie-banner .cookie-text {
  max-width: 540px;
  line-height: 1.5;
  color: var(--color-grey-light);
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
#cookie-banner button {
  padding: 10px 18px;
  min-width: 120px;
  border-radius: var(--border-radius-md);
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: box-shadow var(--transition-main), filter var(--transition-main), background var(--transition-main);
}
#cookie-banner .btn-reject {
  background: #344a60;
  color: var(--color-accent);
}
#cookie-banner .btn-reject:hover, #cookie-banner .btn-reject:focus {
  background: #1c2737;
  color: var(--color-neon);
}
#cookie-banner .btn-settings {
  background: var(--color-bg-dark);
  color: var(--color-neon);
  border: 1px solid var(--color-neon);
}
#cookie-banner .btn-settings:hover, #cookie-banner .btn-settings:focus {
  background: var(--color-neon);
  color: var(--color-black);
}
@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 16px 7px 18px 7px;
    font-size: .98rem;
  }
  #cookie-banner .cookie-actions { flex-direction: column; gap: 12px; }
}

/* Cookie MODAL */
#cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18, 39, 66, 0.94);
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .25s;
}
#cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--color-accent);
  color: var(--color-black);
  border-radius: var(--border-radius-lg);
  min-width: 300px;
  max-width: 400px;
  padding: 36px 32px 28px 32px;
  box-shadow: 0 4px 44px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--color-primary);
  margin-bottom: 2px;
  font-size: 1.26rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
}
#cookie-modal .modal-close {
  font-size: 1.6rem;
  color: var(--color-secondary);
  position: absolute;
  right: 20px; top: 14px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-main);
}
#cookie-modal .modal-close:hover, #cookie-modal .modal-close:focus{ color: var(--color-black); }
@media (max-width: 500px) {
  .cookie-modal-content { padding: 16px 8px 14px 8px; min-width: 95vw; max-width: 97vw; }
}

/* ---------------
   FORMS
---------------- */
input, textarea, select {
  background: rgba(17,62,94,0.06);
  color: var(--color-black);
  border: 1px solid var(--color-grey-light);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 10px;
  transition: border var(--transition-main), box-shadow var(--transition-main);
  font-family: var(--font-body);
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-secondary);
  outline: none;
}
label {
  color: var(--color-white);
  font-weight: 500;
  margin-bottom: 3px;
}

/* -----------
  RESPONSIVE
------------ */
@media (max-width: 630px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section, .hero, .cta-bottom, .highlights, .features, .mission, .values {
    padding: 14px 4px;
    margin-bottom: 36px;
    border-radius: var(--border-radius-md);
  }
  .testimonial-card { font-size: .99rem; }
}

/* -----------
   MISC
----------- */
::-webkit-scrollbar { width: 8px; background: #11243e; }
::-webkit-scrollbar-thumb { background: var(--color-neon); border-radius: 6px; }

hr {
  border: none;
  border-top: 1px solid var(--color-grey-light);
  margin: 32px 0;
}

/* Strong Neon Accent */
.neon {
  color: var(--color-neon);
  text-shadow: 0 0 6px var(--color-neon-light);
  font-weight: 600;
}

/* For classes that don't exist in main HTML but required by layout rules for feature items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* OTHER UTILS */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/*******************
  FOCUS STATES
*******************/
a:focus, button:focus, .cta-primary:focus, input:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  z-index: 2;
}

/*******************
   ANIMATIONS
*******************/
.cta-primary, button, .button, input[type=submit] {
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), filter var(--transition-main), transform var(--transition-main);
}
.card, .testimonial-card {
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 32px 1px var(--color-shadow);
}

/*******************
   PRINT
*******************/
@media print { *, *:before, *:after { background: none !important; color: #000 !important; } }
