/* ======= CSS RESET & NORMALIZATION ======= */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #141E2A;
  color: #fff;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ======= TECH FUTURISTIC STYLE VARIABLES ======= */
:root {
  --color-primary: #223F66;
  --color-secondary: #F9D923;
  --color-accent: #F2EEE9;
  --color-dark: #141E2A;
  --color-light: #F2EEE9;
  --color-bg-gradient: linear-gradient(120deg, #141E2A 0%, #223F66 60%, #192441 100%);
  --color-neon: #21FFD5;
  --color-card-bg: #18253A;
  --color-card-light: #233A5B;
  --color-btn-bg: #223F66;
  --color-btn-hover: #1B304A;
  --color-shadow: rgba(34,63,102,0.20);
  --color-shadow-strong: rgba(33,255,213,0.10);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ======= GLOBAL TYPOGRAPHY ======= */
body {
  font-family: var(--font-body);
  color: var(--color-light);
  background: var(--color-bg-gradient);
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.1;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, dl, dd {
  font-family: var(--font-body);
  color: var(--color-accent);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
strong {
  color: var(--color-neon);
  font-weight: 600;
}

/* =========== CONTAINER & STRUCTURE =========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.text-section {
  align-items: flex-start;
}

.section,
.hero-section,
.features-section,
.about-preview-section,
.course-preview-section,
.testimonials-preview-section,
.cta-section,
.courses-overview,
.course-detail,
.courses-cta,
.methodology-hero,
.methodology-steps,
.benefits-section,
.legal-text-section,
.legal-gdpr-section,
.legal-cookie-section,
.thank-you-section,
.contact-hero-section,
.contact-details-section,
.location-map-section,
.testimonial-grid-section,
.success-stories-section,
.support-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 6px 30px var(--color-shadow);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #1B304A;
  box-shadow: 0 2px 16px var(--color-shadow), 0 0 0 2px var(--color-secondary);
  border-radius: 12px;
  min-width: 250px;
  transition: transform 0.2s cubic-bezier(.5,.04,.19,.99), box-shadow 0.2s;
}
.testimonial-card p {
  color: #181818;
  font-weight: 500;
}
.testimonial-card span {
  color: #223F66;
}
.testimonial-card .star-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 10px 40px var(--color-shadow-strong), 0 0 0 3px var(--color-neon);
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-secondary);
  margin: 16px 0;
  font-size: 1rem;
  font-family: var(--font-display);
}
.feature-grid, .values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature-item, .value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-card-light);
  box-shadow: 0 4px 20px var(--color-shadow);
  border-radius: 12px;
  padding: 24px 18px;
  min-width: 240px;
  max-width: 320px;
  transition: box-shadow .2s, border .2s;
  border: 2px solid transparent;
}
.feature-item:hover, .value-item:hover {
  border: 2px solid var(--color-neon);
  box-shadow: 0 6px 30px var(--color-neon);
}
.story-highlight {
  background: var(--color-card-light);
  border-left: 6px solid var(--color-secondary);
  border-radius: 10px;
  padding: 24px 18px;
  margin-bottom: 22px;
  font-size: 1rem;
  color: var(--color-accent);
}
.before-after {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.before-after h4 {
  color: var(--color-neon);
  font-weight: 700;
  margin-bottom: 3px;
}
.before-after p {
  background: var(--color-card-bg);
  border-radius: 8px;
  padding: 12px 18px;
  color: var(--color-accent);
}

/* ========== BUTTONS, LINKS, CTA ========== */
.cta-btn, .courses-cta .cta-btn, .footer-cta .cta-btn, .thank-you-section .cta-btn, .cookie-accept-btn {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: bold;
  padding: 13px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  box-shadow: 0 2px 14px var(--color-shadow);
  letter-spacing: 0.04em;
  border: 2px solid var(--color-secondary);
  transition: background .18s, color .18s, border .18s, transform .18s, box-shadow .18s;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus,
.cookie-accept-btn:hover {
  background: var(--color-neon);
  color: #16233A;
  border-color: var(--color-neon);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 30px var(--color-neon);
}

.cookie-reject-btn, .cookie-settings-btn {
  display: inline-block;
  background: transparent;
  color: var(--color-neon);
  font-weight: 600;
  font-family: var(--font-display);
  padding: 13px 22px;
  border: 2px solid var(--color-neon);
  border-radius: 30px;
  margin-left: 12px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.cookie-reject-btn:hover, .cookie-settings-btn:hover {
  background: var(--color-neon);
  color: #16233A;
}

.footer-links nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 8px 18px;
  border-radius: 8px;
  margin: 6px 10px;
  transition: background .12s, color .1s;
  font-size:1rem;
}
.footer-links nav a:hover, .footer-links nav a:focus {
  background: var(--color-neon);
  color: #18253A;
}

.main-nav ul li a {
  color: var(--color-accent);
  font-family: var(--font-display);
  padding: 7px 14px;
  border-radius: 7px;
  transition: background .15s, color .15s;
  font-weight: 500;
  line-height: 2;
  margin-right: 2px;
  font-size: 1rem;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--color-neon);
  color: #192441;
}

.about-preview-section a,
.course-preview-section a,
.testimonials-preview-section a {
  color: var(--color-neon);
  border-bottom: 1.5px solid var(--color-secondary);
  transition: color .17s, border .17s;
  font-weight: 500;
  padding-bottom: 2px;
}
.about-preview-section a:hover, .course-preview-section a:hover, .testimonials-preview-section a:hover {
  color: var(--color-secondary);
  border-bottom: 1.5px solid var(--color-neon);
}


/* ========== MAIN NAVIGATION & HEADER ========== */
header {
  background: var(--color-dark);
  box-shadow: 0 2px 18px var(--color-shadow-strong);
  position: sticky;
  top: 0;
  z-index: 60;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
}
.main-nav > a img {
  height: 44px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.main-nav ul li {
  display: flex;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: var(--color-secondary);
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 3px;
  z-index: 98;
  border: 0;
  position: absolute;
  right: 18px;
  top: 16px;
  transition: background .18s, color .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-neon);
  color: #16233A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 23, 44, 0.98);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.4,.16,.48,1.19);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
  box-shadow: 0 0 30px var(--color-shadow-strong);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2em;
  color: var(--color-secondary);
  background: none;
  border: none;
  position: absolute;
  top: 14px;
  right: 26px;
  z-index: 101;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 90px 30px 30px 30px;
  width: 100vw;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-neon);
  font-family: var(--font-display);
  padding: 14px 0 12px 5px;
  font-size: 1.25em;
  border-bottom: 1px solid var(--color-secondary);
  width: 100%;
  transition: background .17s, color .17s;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
}

@media (max-width: 992px) {
  .main-nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
  .main-nav ul {
    display: flex !important;
  }
  .cta-btn {
    display: inline-block !important;
  }
}

/* ========== SECTION SPECIFIC ========== */
.hero-section {
  background: var(--color-primary);
  background: linear-gradient(110deg, #223F66 50%, #1B304A 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero-section .text-section {
  align-items: flex-start;
  color: var(--color-accent);
}
.features-section {
  background: linear-gradient(120deg, #192441 40%, #223F66 100%);
}
.features-section .feature-grid {
  gap: 28px;
}
.features-section .feature-item img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 4px var(--color-neon));
}
.about-preview-section {
  background: var(--color-card-bg);
  border-left: 6px solid var(--color-secondary);
}
.cta-section, .courses-cta, .footer-cta {
  background: linear-gradient(100deg, #F9D923 0%, #FFD950 100%);
  color: #16233A;
}
.cta-section h2, .courses-cta h2, .footer-cta h3 {
  color: #16233A;
}
.cta-section .cta-btn, .footer-cta .cta-btn, .courses-cta .cta-btn {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
}
.cta-section .cta-btn:hover, .footer-cta .cta-btn:hover, .courses-cta .cta-btn:hover {
  background: var(--color-neon);
  color: #16233A;
  border-color: var(--color-neon);
}
.footer-cta {
  border-bottom: 2px solid var(--color-neon);
  box-shadow: 0 2px 18px var(--color-shadow-strong);
}
.footer-links {
  background: var(--color-card-bg);
  padding: 28px 0;
  border-bottom: 2px solid var(--color-primary);
}
.footer-links .content-wrapper {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.footer-links .social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-links .social-links a img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 6px var(--color-neon));
  transition: filter .17s;
}
.footer-links .social-links a:hover img {
  filter: drop-shadow(0 0 10px var(--color-neon));
}
.brand-footer {
  background: var(--color-dark);
  color: var(--color-accent);
  padding: 24px 0;
}
.brand-footer img {
  height: 46px;
  margin-bottom: 8px;
}
.brand-footer p {
  color: var(--color-accent);
  font-size: 1.1em;
}
footer small {
  color: #BFC2CA;
  font-size: 0.9em;
  display: block;
  text-align: left;
  padding: 16px 0 30px 0;
}

/* Map Placeholder Styling */
.map-placeholder {
  background: var(--color-card-light);
  border-radius: 10px;
  padding: 22px 16px;
  color: var(--color-secondary);
  font-size: 1.05em;
  margin-bottom: 18px;
}

.instructor-bio {
  background: var(--color-card-bg);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.commitment-text p {
  font-size: 1.08rem;
  color: var(--color-neon);
  margin-top: 10px;
}

/* ============== SUPPORT & FAQ ============== */
dt {
  color: var(--color-neon);
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 3px;
}
dd {
  margin-bottom: 16px;
  color: var(--color-secondary);
  font-size: 1rem;
}

/* =========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--color-dark);
  box-shadow: 0 0 12px var(--color-shadow);
  color: var(--color-accent);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  animation: cookieSlideIn .5s cubic-bezier(.39,.58,.57,1) 1;
}
@keyframes cookieSlideIn {
  from {
    transform: translateY(120%);
    opacity: 0.2;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner__text {
  font-size: 1rem;
  flex: 2 1 350px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20,34,58,0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__dialog {
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 8px 40px var(--color-shadow-strong);
  padding: 32px 24px;
  max-width: 460px;
  width: 100%;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 700;
}
.cookie-modal__close {
  font-size: 1.6em;
  background: transparent;
  color: var(--color-secondary);
  border: none;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: var(--color-neon);
  position: relative;
  cursor: pointer;
  margin-left: auto;
  transition: background .18s;
}
.cookie-toggle[aria-checked="false"] {
  background: #e0e7ef;
}
.cookie-toggle-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left .22s cubic-bezier(.39,.6,.51,1), background .21s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-thumb {
  left: 19px;
  background: var(--color-neon);
}
.cookie-toggle[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal__footer {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-modal__dialog {
    padding: 18px 8px;
    max-width: 97vw;
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .container {
    max-width: 90vw;
    padding: 0 12px;
  }
  .feature-grid, .values-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .values-grid, .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .section, .hero-section, .features-section, .about-preview-section, .course-preview-section,
  .testimonials-preview-section, .cta-section, .courses-overview, .course-detail, .courses-cta, .methodology-hero, .methodology-steps, .benefits-section, .legal-text-section, .legal-gdpr-section, .thank-you-section, .contact-hero-section, .contact-details-section, .location-map-section, .testimonial-grid-section, .success-stories-section, .support-section {
    padding: 30px 6px;
    margin-bottom: 28px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.20rem;
  }
  .content-wrapper, .card-content {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .feature-item, .value-item, .card {
    min-width: auto;
    max-width: 100%;
    padding: 15px 11px;
  }
  .before-after {
    flex-direction: column;
    gap: 8px;
  }
  .main-nav > a img {
    height: 34px;
  }
}
@media (max-width: 480px) {
  .cta-btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
  h1 {
    font-size: 1.22rem;
  }
}

/* =========== MICRO-INTERACTIONS =========== */
.cta-btn, .feature-item, .value-item, .testimonial-card, .card {
  transition: box-shadow .18s, border .18s, transform .16s;
}
.cta-btn:active {transform: scale(0.98);}

.card:hover, .card:focus-within,
.feature-item:hover, .feature-item:focus-within,
.value-item:hover, .value-item:focus-within {
  box-shadow: 0 8px 36px var(--color-neon), 0 0 0 2px var(--color-neon);
  border-color: var(--color-neon);
}
.card {
  border: 2px solid transparent;
}

/* =========== ACCESSIBILITY =========== */
:focus {
  outline: 2px dashed var(--color-neon);
  outline-offset: 2px;
}

/* =========== SPACING AND ALIGNMENT =========== */
/* .section already set above. Other mandatory patterns included below. */
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* ============== UTILITIES ============== */
.hide {
  display: none !important;
}
