/* --- 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background: #121726; /* fallback dark blue */
  color: #F5F7FA;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
}
a {
  color: #7CBDC3;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 8px #7CBDC3;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  outline: none;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
*:focus { outline: 2px solid #7CBDC3; outline-offset: 2px; }

/* --- BRAND COLORS AND FONTS --- */
:root {
  --primary: #235090;
  --secondary: #7CBDC3;
  --accent: #F5F7FA;
  --dark: #121726;
  --text-main: #F5F7FA;
  --text-on-light: #1A2636;
  --card-bg: #20263A;
  --highlight-neon: #7CBDC3;
  --button-gradient: #235090;
  --shadow: 0 8px 32px 0 rgba(35,80,144,0.24), 0 1.5px 8px 0 rgba(123,189,195,0.10);
  --border-radius: 18px;
}

@font-face {
  font-family: 'Nunito';
  src: local('Nunito'), url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;900&display=swap');
  font-weight: 700 900;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
  font-weight: 400 500;
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', 'Roboto', Arial, sans-serif;
  line-height: 1.2;
}
h1 {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
}
ul, ol {
  padding-left: 24px;
}
li {
  margin-bottom: 8px;
}
strong { font-weight: 700; }
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 4px solid var(--highlight-neon);
  padding-left: 18px;
  margin: 0 0 8px 0;
}
cite {
  color: var(--secondary);
  font-size: .98em;
}

/* --- CONTAINER & SECTION LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  padding: 0;
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- FLEX LAYOUT PATTERNS --- */
.card-container, .services-list, .coaching-programs, .workshop-section ul, .preparation-courses ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--border-radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .24s;
  padding: 0;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 40px 0 rgba(34, 80, 144, 0.26), 0 2px 16px 0 rgba(123,189,195,0.12);
  border-color: var(--highlight-neon);
}
.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: flex-start;
  gap: 10px;
  padding: 20px;
  background: #f5f7fa;
  color: #1A2636;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px 0 rgba(35,80,144,0.15), 0 1.5px 8px 0 rgba(44,90,130,0.04);
  margin-bottom: 20px;
  border-left: 4px solid var(--primary);
}
.testimonial-card blockquote {
  color: #1A2636;
  border-left: none;
  padding-left: 0;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #181F34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  min-height: 64px;
  box-shadow: 0 2px 12px 0 rgba(35, 80, 144, 0.085);
  position: relative;
  z-index: 30;
}
.logo img {
  height: 38px;
  filter: drop-shadow(0 1.5px 0 #7CBDC3);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-left: 36px;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #F5F7FA;
  opacity: 0.92;
  letter-spacing: 0.02em;
  padding: 12px 6px 8px 6px;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .22s;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: #7CBDC3;
  border-bottom: 2px solid #7CBDC3;
}

.cta.primary {
  background: var(--primary);
  color: var(--accent);
  padding: 10px 28px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.025em;
  margin-left: 36px;
  margin-right: 0;
  box-shadow: 0 3px 14px 0 rgba(47,92,156,.10);
  transition: background .16s, box-shadow .2s, color .15s;
  border: 2px solid transparent;
}
.cta.primary:hover, .cta.primary:focus {
  background: #7CBDC3;
  color: #181F34;
  box-shadow: 0 8px 28px 0 rgba(123,189,195,.13);
  border: 2px solid #235090;
}

/* --- GENERAL CTA BUTTONS --- */
.cta {
  display: inline-block;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--secondary);
  color: #1A2636;
  border-radius: 24px;
  padding: 10px 22px;
  margin-top: 10px;
  box-shadow: 0 2px 8px 0 rgba(123,189,195,.10);
  border: 2px solid var(--secondary);
  transition: background .18s, color .18s, box-shadow .2s, border .2s;
  text-align: center;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: #F5F7FA;
  border: 2px solid var(--primary);
  box-shadow: 0 3px 18px 0 rgba(35,80,144,0.14);
}

/* --- BURGER & MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #7CBDC3;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  color: #1A2636;
  align-items: center;
  justify-content: center;
  margin-left: 22px;
  transition: background .15s, color .18s;
  border: none;
  box-shadow: 0 3px 11px 0 rgba(44,90,131,0.09);
  z-index: 41;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #235090;
  color: #F5F7FA;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #181F34;
  box-shadow: -8px 0 38px 0 rgba(35,80,144,0.16);
  transform: translateX(100vw);
  transition: transform .38s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  z-index: 99;
  padding-top: 54px;
  padding-bottom: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: #7CBDC3;
  color: #181F34;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 110;
  box-shadow: 0 3px 11px 0 rgba(44,90,131,0.09);
  transition: background .14s, color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #235090;
  color: #F5F7FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  width: 90vw;
  max-width: 350px;
  margin-top: 35px;
  align-items: stretch;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #F5F7FA;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(44,90,130,0.12);
  margin: 0;
  text-align: left;
  transition: background .16s, color .16s;
  font-family: 'Roboto', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #7CBDC3;
  color: #181F34;
}

@media (max-width: 1020px) {
  .container { max-width: 920px; }
  .main-nav { gap: 11px; margin-left: 15px; }
  .cta.primary { margin-left: 15px; }
}
@media (max-width: 900px) {
  header { flex-wrap: wrap; }
  .main-nav, .cta.primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 600px) {
  .container { padding: 0 10px; }
}

/* --- HERO & GRADIENT BACKGROUNDS --- */
.hero-section {
  background: linear-gradient(120deg, #235090 10%, #20263A 90%);
  color: #F5F7FA;
  min-height: 48vh;
  display: flex;
  align-items: center;
  margin-bottom: 38px;
  box-shadow: 0 9px 28px 0 rgba(35,80,144,0.11);
}
.hero-section .container, .hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.hero-section h1 {
  color: #F5F7FA;
  text-shadow: 0 2.5px 16px #235090, 0 1.5px 6px #7CBDC3;
}
.hero-section p {
  font-size: 1.18rem;
  color: #E0EFFC;
  margin-bottom: 14px;
}

/* --- FEATURES & SERVICES --- */
.features-section, .services-section, .coaching-section, .workshop-section, .workshop-howto-section, .preparation-courses, .contact-info-section {
  background: #181F34;
  border-radius: 22px;
  box-shadow: 0 3px 12px 0 rgba(35,80,144,0.06);
  margin-bottom: 42px;
}
.features-section ul, .features-section li,
.services-list, .coaching-programs, .workshop-section ul, .preparation-courses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-section li {
  background: var(--card-bg);
  padding: 20px 18px 16px 18px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 14px 0 rgba(35,80,144,.08);
  color: #F5F7FA;
  font-size: 1.04rem;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
  border-left: 3.5px solid #7CBDC3;
}
.features-section img {
  height: 38px;
  width: 38px;
  filter: drop-shadow(0 0 6px #7CBDC3);
}
.services-list {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.services-list > div {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  min-width: 220px;
  flex: 1 1 260px;
  max-width: 308px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: box-shadow .16s, border-color .18s;
}
.services-list > div:hover, .services-list > div:focus-within {
  box-shadow: 0 8px 32px 0 rgba(123,189,195,0.16);
  border-left: 4px solid #7CBDC3;
}
.services-list h3, .services-list h2 {
  color: #7CBDC3;
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 3px;
}
.services-list strong, .services-list span {
  color: #7CBDC3;
}
.services-list .cta {
  margin-top: auto;
}
.coaching-programs > div, .workshop-section ul li, .preparation-courses ul li {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 22px 20px;
  min-width: 210px;
  flex: 1 1 250px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid #7CBDC3;
  transition: box-shadow .13s, border-color .15s;
}
.coaching-programs > div:hover, .workshop-section ul li:hover, .preparation-courses ul li:hover {
  border-left: 5px solid #235090;
  box-shadow: 0 8px 32px 0 rgba(54,119,190,0.17);
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px 0;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px 0 rgba(35,80,144,.08);
  overflow: hidden;
}
thead {
  background: #20263A;
}
th, td {
  text-align: left;
  padding: 14px 12px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F5F7FA;
  border-bottom: 1px solid #253052;
}
thead th {
  color: #7CBDC3;
  font-family: 'Nunito', Arial, sans-serif;
}
tbody tr:nth-child(even) { background: #1a2340; }

/* --- FOOTER --- */
footer {
  background: #181F34;
  padding: 36px 0 18px 0;
  border-top: 1px solid #232849;
  box-shadow: 0 -2px 24px 0 rgba(35,80,144,0.045);
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #7CBDC3;
  font-size: .97rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color .18s;
}
.footer-nav a:hover {
  color: #F5F7FA;
}
.brand-footer {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.brand-footer img {
  height: 42px;
  filter: drop-shadow(0 0 8px #7CBDC3a0);
}
.contact-footer {
  font-size: .98rem;
  text-align: center;
  color: #8CB0C5;
  line-height: 1.5;
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #20263A;
  color: #F5F7FA;
  border-top: 3px solid #7CBDC3;
  padding: 24px 28px;
  z-index: 1500;
  box-shadow: 0 -3px 24px 0 rgba(35, 80, 144, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  transition: transform .34s, opacity .32s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
}
.cookie-banner__button {
  font-family: 'Nunito', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  padding: 8px 18px;
  border-radius: 14px;
  color: #181F34;
  background: #7CBDC3;
  border: none;
  margin-right: 0;
  transition: background .18s, color .13s;
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: #235090;
  color: #F5F7FA;
}
.cookie-banner__button--secondary {
  background: #F5F7FA;
  color: #235090;
  border: 1.5px solid #235090;
}
.cookie-banner__button--secondary:hover, .cookie-banner__button--secondary:focus {
  background: #7CBDC3;
  color: #181F34;
  border: 1.5px solid #7CBDC3;
}
/* --- COOKIES MODAL --- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 1550;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,31,52,0.88);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: #F5F7FA;
  color: #1A2636;
  border-radius: 24px;
  box-shadow: 0 10px 44px 0 rgba(35,80,144,0.19);
  max-width: 400px;
  padding: 32px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  color: #235090;
  font-size: 1.36rem;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #235090;
  margin-left: 12px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 1.4rem;
  background: none;
  color: #235090;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal__close:hover {
  color: #7CBDC3;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1020px) {
  .features-section ul, .services-list, .coaching-programs, .workshop-section ul, .preparation-courses ul {
    gap: 16px;
  }
  .services-list > div, .coaching-programs > div, .workshop-section ul li, .preparation-courses ul li {
    min-width: 180px;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .container, .section {
    padding: 0 10px;
  }
  .features-section ul, .services-list, .coaching-programs, .workshop-section ul, .preparation-courses ul {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .main-nav { flex-wrap: wrap; gap: 9px; }
  .services-list > div, .coaching-programs > div, .workshop-section ul li, .preparation-courses ul li {
    border-radius: var(--border-radius);
    min-width: 0;
    max-width: 100%;
  }
  .hero-section { min-height: 26vh; }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .hero-section .container, .hero-section .content-wrapper { padding: 18px 0; }
}
@media (max-width: 560px) {
  .section { margin-bottom: 36px; padding: 28px 8px; }
  .testimonial-card { padding: 13px 10px; }
  .brand-footer img { height: 34px; }
  .cookie-banner {
    padding: 18px 10px;
    font-size: .95em;
  }
  .cookie-modal {
    max-width: 94vw;
    padding: 20px 7vw 18px 6vw;
  }
}

/* --- CARD & UI HIERARCHY --- */
.card, .testimonial-card, .features-section li, .services-list > div, .coaching-programs > div, .workshop-section ul li, .preparation-courses ul li {
  box-shadow: var(--shadow);
  border-radius: var(--border-radius);
  transition: box-shadow .19s, border-color .18s;
}
.card:hover, .features-section li:hover, .services-list > div:hover, .coaching-programs > div:hover, .workshop-section ul li:hover, .preparation-courses ul li:hover {
  box-shadow: 0 9px 40px 0 rgba(123,189,195,0.17);
  border-left-color: #7CBDC3;
}

/* --- TRANSITIONS & MICRO-INTERACTIONS --- */
.cta, .cta.primary, .main-nav a, .cookie-banner__button, .mobile-nav a, .card, .testimonial-card, .services-list > div, .features-section li {
  transition: background .18s, color .16s, box-shadow .28s, border-color .22s, transform .17s;
}

/* --- SPACING ENFORCEMENT (gap/margin rules) --- */
.section, .features-section, .services-section, .workshop-section, .coaching-section, .preparation-courses, .contact-short-section, .contact-info-section, .workshop-howto-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .services-list, .coaching-programs, .workshop-section ul, .preparation-courses ul {
  gap: 24px;
  margin-bottom: 14px;
}
.card, .testimonial-card, .services-list > div, .features-section li {
  margin-bottom: 20px;
}
.content-grid, .text-image-section {
  gap: 20px;
}

/* --- MISC UTILS --- */
.hide { display: none !important; }

/* --- Z-INDEX CORRECTNESS FOR OVERLAYS --- */
.mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 999;
}

/* --- NEON EFFECTS / DESIGN DETAILS --- */
.cta.primary, .cta, .cookie-banner__button {
  box-shadow: 0 0 6px 0 #7CBDC3cc, 0 0.5px 2.5px #23509044;
}
.card:hover, .services-list > div:hover, .testimonial-card:hover, .workshop-section ul li:hover {
  box-shadow: 0 0 24px 0 #7CBDC378, 0 6px 16px 0 #23509035;
}
.features-section li:hover {
  box-shadow: 0 0 18px 0 #7CBDC370, 0 2px 8px 0 #23509028;
  border-left: 3.5px solid #235090;
}

/* --- VISIBLE FOCUS INDICATORS --- */
.cta:focus, .cta.primary:focus, .cookie-banner__button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus, .main-nav a:focus, .mobile-nav a:focus {
  box-shadow: 0 0 0 3px #7CBDC388;
  outline: 2px solid #235090;
}

/* --- END CSS --- */
