/* Base / Variables */
:root{
  --bg: #0f172a;
  --panel: #0b1220;
  --muted: #94a3b8;
  --muted-2: #c7d2fe;
  --accent-500: #6366f1;
  --accent-600: #4f46e5;
  --accent-700: #4338ca;
  --glass: rgba(49, 46, 129, 0.08);
  --card: #0f172a;
  --card-2: #0b1220;
  --radius-lg: 14px;
  --radius-md: 10px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --container: 1280px;
  --glass-border: rgba(49, 46, 129, 0.2);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-color: var(--bg);
  color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Utility Containers */
.container{
  width: calc(100% - 2rem);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive helper */
@media (min-width: 1280px) {
  .container {
    width: 1280px
  }
}

/* navbar */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.55));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.brand-text{
  font-weight:700;
  letter-spacing:0.2px;
  color:#fff;
  display:none;
}

.nav-links {
  display: flex;
  gap: 0.8rem;
  margin-left: 0.6rem;
  align-items: center;
}

/* Nav link style */
.nav-link {
  color: var(--muted-2);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color .18s ease, background .18s ease, transform .12s;
}

.nav-link:hover {
  color: #fff;
  transform: translateY(-1px)
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .12s ease, background .12s ease;
}

/* Primary */
.btn-primary {
  background: linear-gradient(90deg, var(--accent-600), #8b5cf6);
  color: white;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.12), inset 0 -2px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #5b46e6, #7b49f3)
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--muted-2);
  border: 1px solid rgba(99, 102, 241, 0.16);
}

.btn-lg {
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 1rem
}

/* mobile */
.hamburger{
  display:none;
  background:transparent;
  border:0;
  color:var(--muted-2);
  cursor:pointer;
  padding:6px;
  border-radius:8px;
}

/* HERO */
.hero{
  padding-top: 96px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #e6eefc;
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 3.5rem 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-gradient {
  background: linear-gradient(135deg, #0f172a 0%, #071026 60%);
}

/* Titles */
.hero-title {
  font-size: 3rem;
  line-height: 1.02;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 4.5rem
  }
}

.highlight{
  color: #93c5fd;
  background: linear-gradient(90deg, rgba(99,102,241,0.14), rgba(139,92,246,0.08));
  padding:0.05rem 0.18rem;
  border-radius:6px;
}

/* Subtitle */
.hero-sub {
  color: var(--muted-2);
  margin: 0 0 1.2rem 0;
  font-size: 1.125rem;
}

/* hero CTAs */
.hero-ctas {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-supported {
  margin-top: 1.5rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.supported-label {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.supported-img {
  height: 44px;
  object-fit: contain;
}

/* hero visual */
.hero-character {
  width: 350px;
  max-width: 40vw;
  display: block
}

/* COURSES */
.section{ padding: 4.5rem 0; }
.section-header{ text-align:center; margin-bottom:2.25rem }
.section-title{ font-size:1.75rem; margin:0; font-weight:700 }
.section-sub{ color: var(--muted-2); margin-top:0.6rem; max-width:820px; margin-left:auto; margin-right:auto }

/* Course grid */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 720px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (min-width: 1100px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

/* Course card */
.course-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(11, 17, 28, 0.9));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.5);
  transition: transform .28s cubic-bezier(.16, .8, .36, 1), box-shadow .28s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.6);
}

/* course media */
.course-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  height: 120px;
}

.course-media .course-img {
  display: block;
  max-width: 140px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 450px) {
  .course-media {
    height: 90px;
  }

  .course-media .course-img {
    max-width: 100px;
  }
}

/* course info */
.course-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-500), #8b5cf6);
  color: white;
  font-weight: 700;
}

.course-type {
  color: #93c5fd;
  font-size: 0.875rem;
}

/* title & desc */
.course-title {
  font-size: 1.125rem;
  margin: 0;
  margin-top: 6px;
  font-weight: 700
}

.course-desc {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.course-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.course-link i {
  width: 16px;
  height: 16px
}

/* more link */
.more-courses {
  text-align: center;
  margin-top: 1.2rem
}

.more-link {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center
}

/* FEATURES / PRACTICE / COMMUNITY */
.features-grid, .practice-grid, .community-grid{
  display:grid;
  gap:2rem;
}

.features-left h2,
.practice-body h2,
.community-left h2 {
  font-size: 1.75rem;
  margin: 0 0 0.6rem
}

.muted {
  color: var(--muted)
}

/* images rounded and shadow */
.rounded {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.feature-img {
  width: 240px;
  display: block;
  margin-top: 1rem
}

.feature-img-large {
  width: 100%;
  max-width: 190px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.6);
  margin: 1rem auto 0;
  display: block;
}

/* project card */
.project-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 1rem 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 10px
}

.project-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover
}


/* OUR TEAM */
.team-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.testimonial {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(8, 12, 20, 0.85));
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
}

.testimonial-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover
}

/* STATS */
.stats-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-600);
  line-height: 1;
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

/* CTA */
.cta-inner{ display:flex; gap:2rem; align-items:center; justify-content:space-between; padding:2rem 0 }
@media (max-width:900px){ .cta-inner{ flex-direction:column; text-align:center } }
.cta-img{ width: 280px; max-width: 80vw; display:block; margin: 0 auto; }

/* FOOTER */
.footer {
  background: #0b1220;
  padding: 3rem 1rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin: 0.5rem 0;
}

.footer-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #93c5fd;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1rem;
  margin-top: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom .footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom .footer-links a:hover {
  color: #93c5fd;
}

/* Brand Footer */
.brand-footer {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}


.footer-name {
  font-weight: 700;
  color: #fff;
}

/* Socials */
.socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.socials a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.socials a:hover {
  color: #93c5fd;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  .footer-bottom .footer-links {
    justify-content: center;
  }
}


/* socials */
.socials a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 10px
}

.socials a:hover {
  color: #93c5fd
}

/* SMALLER SCREENS */
@media (max-width:900px){
  .nav-links{ display:none; position:fixed; top:64px; left:0; right:0; background: linear-gradient(180deg, rgba(15,23,42,0.96), rgba(8,12,20,0.96)); padding:1rem; flex-direction:column; gap:0.5rem; border-bottom: 1px solid rgba(255,255,255,0.02) }
  .nav-links.open{ display:flex }
  .nav-link{ padding:12px 14px; font-size:1rem }

  .cta-inner {
    padding: 1rem 0;
    gap: 1rem;
    flex-direction: column
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem
  }
}

a{ color:inherit }
small{ font-size:0.85rem; color:var(--muted) }

/* subtle focus outlines */
a:focus,
button:focus {
  outline: 2px solid rgba(147, 197, 253, 0.15);
  outline-offset: 3px;
  border-radius: 8px
}

/* smooth image loading */
img {
  display: block;
  max-width: 100%;
  height: auto
}

/* tiny animation for icons */
i[data-feather] svg {
  vertical-align: middle
}

.student_with_itlearn {
  width: 400px;
  border-radius: 30px;
  object-fit: cover;
}


/* Standaard verbergen */
.language-selector {
    display: none;
}

body[data-page="index"] .language-selector,
body[data-page="learn"] .language-selector {
  display: flex;
  position: relative;
  top: auto;
  right: auto;
  z-index: 1002;
  align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
  left: 0;
    margin-top: 0.5rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    min-width: 120px;
  z-index: 1003;
}

.lang-dropdown.show {
    display: flex;
}

.lang-dropdown a {
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 0.3rem;
}

.lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}