/* ===================================================
   GERMANIA ZENTRUM — Main Stylesheet
   Design: Modern dark/gold | Brand: #f1d204, #451c56
   =================================================== */

/* ── Variables ─────────────────────────────────── */
:root {
  --gold:       #f1d204;
  --gold-dark:  #c9ae00;
  --purple:     #451c56;
  --purple-mid: #6a305e;
  --purple-light:#8a4a7e;
  --dark:       #1a1025;
  --dark-mid:   #2d1f3d;
  --text:       #1e1e2e;
  --text-muted: #6b7280;
  --bg:         #ffffff;
  --bg-soft:    #faf9ff;
  --bg-mid:     #f3f0fa;
  --border:     #e5e0f0;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.15);
  --transition: .25s ease;
  --font:       'Inter', sans-serif;
  --font-serif: 'Lora', serif;
  --nav-h:      80px;
}

/* ── Reset / Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ─────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

.serif { font-family: var(--font-serif); }

/* ── Container ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ── Section spacing ────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-title h2 { color: var(--text); }
.section-title p { color: var(--text-muted); max-width: 560px; margin: 8px auto 0; }
.section-divider {
  width: 56px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 40px;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .925rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241,210,4,.35);
}
.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--purple);
}
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ── Badges ─────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-gold    { background: var(--gold); color: var(--dark); }
.badge-purple  { background: var(--purple); color: #fff; }
.badge-green   { background: #d1fae5; color: #065f46; }
.badge-red     { background: #fee2e2; color: #991b1b; }
.badge-yellow  { background: #fef3c7; color: #92400e; }
.badge-gray    { background: #f3f4f6; color: #374151; }

/* ── Alerts ─────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ── Forms ──────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; color: var(--text); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(106,48,94,.12);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Cards ──────────────────────────────────────── */
.card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }
.card-img { width: 100%; height: 220px; object-fit: cover; }

/* ── Grid ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width:1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:640px) {
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
}

/* ── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo img { height: 52px; width: auto; }
.navbar-logo .logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}
.navbar-logo .logo-text span { color: var(--gold); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,.06);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '▾';
  margin-left: 4px;
  font-size: .7rem;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: .85rem;
  border-radius: 8px;
  white-space: nowrap;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width:1024px) {
  .navbar-nav, .navbar-actions { display: none; }
  .navbar-toggle { display: flex; }

  .navbar.menu-open .navbar-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    padding: 20px 24px 30px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .navbar.menu-open .navbar-actions {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--dark);
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    justify-content: center;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    border: none;
    margin-top: 4px;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple) 60%, var(--dark) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-pattern.svg') center/cover;
  opacity: .05;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241,210,4,.15);
  border: 1px solid rgba(241,210,4,.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: .25;
}
@media (min-width:900px) { .hero-image { opacity: .6; } }

/* ── PAGE HEADER ────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple) 100%);
  padding: calc(var(--nav-h) + 48px) 0 56px;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-header p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb-sep { opacity: .4; }

/* ── COURSES GRID ───────────────────────────────── */
.course-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.course-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .7;
}
.course-card-icon {
  font-size: 3rem;
  color: var(--gold);
  position: relative;
  z-index: 2;
}
.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}
.course-card-body p {
  font-size: .9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 20px;
}
.course-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}
.course-meta-item svg { color: var(--gold); }

/* ── FEATURES / WHY US ──────────────────────────── */
.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  background: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241,210,4,.12);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold) 0%, #e5c400 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p  { font-size: .9rem; color: var(--text-muted); }

/* ── PURPLE BANNER ──────────────────────────────── */
.banner-purple {
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple) 100%);
  padding: 80px 0;
  text-align: center;
}
.banner-purple h2 { color: #fff; margin-bottom: 16px; }
.banner-purple p  { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 32px; }

/* ── TESTIMONIALS ───────────────────────────────── */
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.testimonial-card p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .95rem;
  line-height: 1.8;
}
.testimonial-author {
  font-weight: 700;
  font-size: .875rem;
  color: var(--text);
}

/* ── BLOG CARDS ─────────────────────────────────── */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 200px; background: var(--bg-mid); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--purple); margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p  { font-size: .875rem; color: var(--text-muted); flex: 1; margin-bottom: 16px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }

/* ── CONTACT SECTION ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width:768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(241,210,4,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}
.contact-info-item h4 { font-size: .875rem; font-weight: 700; margin-bottom: 4px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-info-item p  { font-size: .95rem; color: var(--text); }
.contact-info-item a  { color: var(--purple); }
.contact-info-item a:hover { color: var(--gold); }

.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; }

/* ── PARTNERS / LOGOS ───────────────────────────── */
.partners-strip {
  background: var(--bg-soft);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.partners-logos img { height: 40px; width: auto; filter: grayscale(1); opacity: .6; transition: all var(--transition); }
.partners-logos img:hover { filter: none; opacity: 1; }

/* ── REFERENCES GRID ────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
}
.ref-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.ref-item:hover { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241,210,4,.15); }
.ref-item img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .7; transition: all var(--transition); }
.ref-item:hover img { filter: none; opacity: 1; }

/* ── UTISCI ─────────────────────────────────────── */
.utisci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.utisci-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.utisci-img img { width: 100%; }

/* ── PAGE CONTENT ───────────────────────────────── */
.page-content h1 { font-size: 1.9rem; margin: 32px 0 12px; color: var(--text); }
.page-content h2 { font-size: 1.5rem; margin: 28px 0 10px; color: var(--purple); }
.page-content p  { margin-bottom: 16px; color: var(--text); line-height: 1.8; }
.page-content ul { margin: 0 0 20px 0; }
.page-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text);
  line-height: 1.7;
}
.page-content ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .7rem;
  top: 10px;
}
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.page-content table th, .page-content table td {
  padding: 14px 18px;
  text-align: left;
  font-size: .9rem;
}
.page-content table th {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
}
.page-content table tr:nth-child(even) td { background: var(--bg-soft); }
.page-content table tr:nth-child(odd) td  { background: var(--bg); }
.page-content .quote-block {
  border-left: 4px solid var(--gold);
  background: var(--bg-mid);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin: 32px 0;
}
.page-content .quote-block em { color: var(--purple); font-size: 2rem; font-style: normal; }

/* ── COURSE PHASES ──────────────────────────────── */
.phase-list { counter-reset: phase; margin: 24px 0; }
.phase-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.phase-item:hover { border-color: var(--gold); }
.phase-num {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phase-info h4 { font-size: .875rem; margin-bottom: 4px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.phase-info p  { font-size: .95rem; color: var(--text); margin: 0; }

/* ── TELC TOPICS LIST ───────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin: 20px 0;
}
.topic-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── INFO BOXES ─────────────────────────────────── */
.info-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.info-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.info-box-icon {
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.info-box-header h3 { font-size: 1.15rem; color: var(--text); }
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: var(--purple); }
.stat-item .label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width:560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
}
.footer-col h4 {
  color: #fff;
  font-size: .825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.5);
  font-size: .875rem;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,.5); }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .8rem; }
.footer-bottom a { color: var(--gold); }

/* ── GOETHE / SAVETOVANJE ───────────────────────── */
.partner-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.partner-badges img { height: 48px; width: auto; }

/* ── UTILITY ────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ml-8  { margin-left: 8px; }
.ml-16 { margin-left: 16px; }
--danger: #ef4444;
.is-invalid { border-color: #ef4444 !important; }

/* ── QUOTE BLOCK (standalone) ────────────────────── */
.quote-block {
  border-left: 4px solid var(--gold);
  background: var(--bg-mid);
  padding: 24px 32px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  text-align: center;
}
.quote-block p { margin: 0; font-style: italic; color: var(--text-muted); }

/* ── ALERT BOX (gold notice) ─────────────────────── */
.alert-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: .925rem;
  line-height: 1.6;
}
.alert-box-gold {
  background: rgba(241,210,4,.1);
  border: 1px solid rgba(241,210,4,.3);
  color: var(--text);
}
.alert-box-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ── PHASE LIST (course phases) ──────────────────── */
.phase-content { display: flex; flex-direction: column; gap: 4px; }
.phase-content strong { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.phase-content span { font-size: .95rem; color: var(--text); }

/* ── STAT ROW (course stats) ─────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width:600px) { .stat-row { grid-template-columns: repeat(2,1fr); } }
.stat-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--purple); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* ── REFERENCES GRID ─────────────────────────────── */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}

/* ── DATA TABLE / TABLE WRAP ─────────────────────── */
.table-wrap { overflow-x: auto; }
.table-responsive { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: .9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-soft); }

/* ── FORM CARD (public contact form) ─────────────── */
.form-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 32px;
}

/* ── CONTACT SOCIAL LINKS ────────────────────────── */
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }

/* ── BLOG META ───────────────────────────────────── */
.blog-meta { display: flex; align-items: center; gap: 12px; }

/* ── DASH CARD ───────────────────────────────────── */
.dash-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 0;
}
.dash-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
}
.dash-card-header h3 { font-size: 1rem; color: var(--text); }
.dash-card-body { padding: 24px; }

/* ── STAT CARDS (dashboard) ──────────────────────── */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* ── EMPTY STATE ─────────────────────────────────── */
.empty-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state i { font-size: 2.5rem; opacity: .4; margin-bottom: 16px; display: block; }
.empty-state p { margin-bottom: 16px; }

/* ── MESSAGES ────────────────────────────────────── */
.messages-list { }
.message-item { padding: 16px 24px; border-bottom: 1px solid var(--border); transition: background var(--transition); }
.message-item:last-child { border-bottom: none; }
.message-item:hover { background: var(--bg-soft); }
.message-unread { background: rgba(241,210,4,.05); }
.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
}
.message-from { font-weight: 600; font-size: .9rem; }
.message-date { font-size: .8rem; }
.message-body { font-size: .9rem; color: var(--text); line-height: 1.6; }
.message-preview { font-size: .875rem; }

/* ── PROFILE ─────────────────────────────────────── */
.profile-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.profile-role { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ── QUICK LINK CARD (dashboard) ─────────────────── */
.quick-link-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.quick-link-card i { font-size: 1.8rem; color: var(--gold); }
.quick-link-card:hover { border-color: var(--gold); background: rgba(241,210,4,.04); transform: translateY(-3px); }

/* ── PENDING ALERT (admin) ───────────────────────── */
.pending-alert {
  background: rgba(241,210,4,.1);
  border: 1px solid rgba(241,210,4,.3);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.pending-alert i { color: var(--gold); }
.pending-alert a { color: var(--purple); font-weight: 600; margin-left: auto; }
.pending-alert a:hover { color: var(--gold); }

/* ── COURSE SELECT CARD (enrollment) ─────────────── */
.course-cards-grid { display: flex; flex-direction: column; gap: 12px; }
.course-select-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  display: block;
}
.course-select-card.selected,
.course-select-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(241,210,4,.04);
}
.course-select-card:hover { border-color: var(--purple-light); }
.course-select-card input[type=radio] { display: none; }
.course-select-body {
  display: flex;
  align-items: center;
  gap: 16px;
}
.course-select-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--bg-mid);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--purple);
}

/* ── MINI AVATAR ─────────────────────────────────── */
.mini-avatar {
  width: 32px; height: 32px;
  background: var(--purple);
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: .8rem;
  flex-shrink: 0;
}

/* ── DASH WELCOME ────────────────────────────────── */
.dash-welcome { margin-bottom: 24px; }
.dash-welcome h2 { font-size: 1.5rem; color: var(--text); }

/* ── SCHEDULE ────────────────────────────────────── */
.schedule-block { padding: 20px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--border); }
