/**
 * Master Eğitim Merkezi - Main CSS
 * Optimized and modular stylesheet
 * 
 * @version 2.0.0
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  /* Brand Colors */
  --brand-navy: #0b1a57;
  --brand-navy-dark: #09164b;
  --brand-yellow: #f9c80e;
  
  /* Semantic Colors */
  --ink: #1f2a44;
  --bg: #ffffff;
  --muted: #5b6785;
  --ring: #123266;
  --card: #0f2a54;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  
  /* Spacing */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 18px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 44px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 6px 26px rgba(0, 0, 0, 0.18);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', 'Montserrat', system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 100px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
h5 { font-size: clamp(16px, 2vw, 20px); }
h6 { font-size: clamp(14px, 1.8vw, 18px); }

p {
  margin-bottom: var(--space-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  padding-inline: 16px;
}

.container--wide {
  width: min(100% - 32px, 1400px);
}

.container--narrow {
  width: min(100% - 32px, 800px);
}

.section {
  padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  .section {
    padding: 25px 0;
  }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--brand-navy-dark);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand__logo {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  object-fit: cover;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.brand__name {
  font: 800 22px/1 'Montserrat', sans-serif;
  color: var(--brand-yellow);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.brand-link:hover .brand__logo {
  box-shadow: 0 0 0 4px var(--brand-yellow), var(--shadow-lg);
  transform: scale(1.05);
}

.brand-link:hover .brand__name {
  border-color: var(--brand-yellow);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10) inset;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

nav a {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  font-weight: 800;
  color: var(--brand-yellow);
  transition: var(--transition-fast);
}

nav a:hover,
nav a.active {
  background: var(--brand-yellow);
  color: #fff;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: 100;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--brand-yellow);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
  }
  
  nav {
    width: 100%;
    order: 3;
  }
  
  nav ul {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background: var(--brand-navy-dark);
    flex-direction: column;
    padding: 15px 0;
    gap: 5px;
    width: 100%;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    padding: var(--space-sm) 15px;
    border-radius: 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .brand__name {
    font-size: 16px !important;
  }
  
  .brand__logo {
    width: 50px !important;
    height: 50px !important;
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--ring);
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--yellow {
  background: var(--brand-yellow);
  color: var(--brand-navy);
  border-color: var(--brand-yellow);
}

.btn--yellow:hover:not(:disabled) {
  filter: brightness(0.96);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--brand-yellow);
  border-color: var(--brand-yellow);
}

.btn--outline:hover:not(:disabled) {
  background: var(--brand-yellow);
  color: var(--brand-navy);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--lg {
  padding: 16px 24px;
  font-size: 16px;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--card);
  color: #f1f4fb;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ring);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card h3 {
  margin: var(--space-xs) 0;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #d4ddec;
  margin-bottom: var(--space-sm);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--ink);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(249, 200, 14, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--error);
}

.form-error {
  color: var(--error);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.form-success {
  color: var(--success);
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-wrapper {
  margin-bottom: var(--space-lg);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  padding: var(--space-sm) 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin-left: var(--space-xs);
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--brand-navy);
  text-decoration: underline;
}

.breadcrumb-item a:hover {
  color: var(--brand-yellow);
}

.breadcrumb-item.active {
  color: var(--muted);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ============================================
   LOADING STATES
   ============================================ */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  padding: var(--space-sm);
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  header,
  .mobile-toggle,
  .whatsapp-fab,
  .btn {
    display: none !important;
  }
  
  body {
    padding-bottom: 0;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}


/* ============================================
   KURSLAR PAGE
   ============================================ */
:root{--navy:#0b1a57;--navy-dark:#091445;--yellow:#f9c80e;--text:#1f2a44;--muted:#64748b;--light:#f8fafc;--white:#fff;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--info:#3b82f6}
*{box-sizing:border-box;margin:0;padding:0}body{font-family:'Poppins',sans-serif;color:var(--text);background:var(--light);line-height:1.6}a{text-decoration:none;color:inherit}.container{width:min(100% - 32px,1200px);margin-inline:auto}

header{background:var(--navy-dark);position:sticky;top:0;z-index:1000;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:60px;height:60px;border-radius:50%;border:3px solid var(--yellow)}.brand span{font:800 20px 'Montserrat',sans-serif;color:var(--yellow)}
nav ul{list-style:none;display:flex;gap:8px}nav a{padding:10px 16px;border-radius:8px;font-weight:600;font-size:14px;color:rgba(255,255,255,.8);transition:.2s}nav a:hover,nav a.active{background:var(--yellow);color:var(--navy)}
.mobile-toggle{display:none;background:none;border:none;padding:8px;cursor:pointer}.mobile-toggle span{display:block;width:24px;height:3px;background:var(--yellow);margin:5px 0;border-radius:2px}
@media(max-width:768px){.nav{flex-wrap:wrap}nav{width:100%;order:3}nav ul{display:none;flex-direction:column;width:100%;padding:15px 0;gap:5px}nav ul.active{display:flex}nav a{display:block;text-align:center}.mobile-toggle{display:block}.brand img{width:45px;height:45px}.brand span{font-size:16px}}

.hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-dark) 100%);color:var(--white);padding:50px 0;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-50%;right:-20%;width:600px;height:600px;background:radial-gradient(circle,rgba(249,200,14,.1) 0%,transparent 70%);border-radius:50%}
.hero-content{position:relative;text-align:center}.hero h1{font:900 clamp(28px,5vw,42px) 'Montserrat',sans-serif;margin-bottom:10px}.hero h1 i{color:var(--yellow)}.hero p{font-size:clamp(14px,2vw,18px);color:rgba(255,255,255,.7);max-width:600px;margin:0 auto}

.tabs-nav{background:var(--white);border-bottom:1px solid #e2e8f0;position:sticky;top:84px;z-index:100}
.tabs-nav .container{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;justify-content:center}.tabs-nav .container::-webkit-scrollbar{display:none}
.tab-btn{display:flex;align-items:center;gap:10px;padding:18px 28px;font-weight:600;font-size:15px;color:var(--muted);background:none;border:none;cursor:pointer;border-bottom:3px solid transparent;white-space:nowrap;transition:.2s}
.tab-btn:hover{color:var(--navy);background:var(--light)}.tab-btn.active{color:var(--navy);border-bottom-color:var(--yellow);background:var(--light)}.tab-btn i{font-size:18px}.tab-btn .badge{background:var(--danger);color:var(--white);padding:2px 8px;border-radius:10px;font-size:11px;margin-left:5px}
@media(max-width:768px){.tabs-nav{top:69px}.tab-btn{padding:14px 18px;font-size:13px}.tab-btn i{font-size:16px}}

.tab-content{display:none;padding:40px 0;animation:fadeIn .3s}.tab-content.active{display:block}@keyframes fadeIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.section-title{font:800 clamp(20px,4vw,28px) 'Montserrat',sans-serif;color:var(--navy);margin-bottom:25px;display:flex;align-items:center;gap:12px}.section-title i{color:var(--yellow)}

.courses-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:25px}@media(max-width:400px){.courses-grid{grid-template-columns:1fr}}
.course-card{background:var(--white);border-radius:16px;overflow:hidden;box-shadow:0 4px 15px rgba(0,0,0,.06);border:1px solid #e2e8f0;transition:.3s}.course-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgba(0,0,0,.1)}
.course-head{background:linear-gradient(135deg,var(--navy) 0%,#1e3a8a 100%);padding:22px;color:var(--white);position:relative}.course-head .status{position:absolute;top:15px;right:15px;padding:5px 12px;border-radius:20px;font-size:11px;font-weight:600}
.status-open{background:var(--success)}.status-closed{background:var(--danger)}.status-planned{background:var(--warning)}.status-ongoing{background:var(--info)}
.course-head h3{font-size:17px;margin:0 0 5px;padding-right:80px}.course-head .service{font-size:12px;color:rgba(255,255,255,.7)}
.course-body{padding:22px}.course-info{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.course-info .row{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.course-info .row i{width:18px;color:var(--navy)}.course-info .row strong{color:var(--text)}
.capacity{margin-bottom:18px}.capacity-header{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}.capacity-bar{height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.capacity-fill{height:100%;background:var(--success);border-radius:4px}.capacity-fill.warning{background:var(--warning)}.capacity-fill.full{background:var(--danger)}
.course-actions{display:flex;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border-radius:10px;font-weight:600;font-size:14px;border:none;cursor:pointer;transition:.2s;flex:1}
.btn-primary{background:var(--yellow);color:var(--navy)}.btn-primary:hover{background:#e0b400}.btn-outline{background:transparent;border:2px solid var(--navy);color:var(--navy)}.btn-outline:hover{background:var(--navy);color:var(--white)}.btn-disabled{background:#e2e8f0;color:#9ca3af;cursor:not-allowed}

.exam-hero{background:linear-gradient(135deg,#1e3a8a 0%,var(--navy) 100%);border-radius:20px;padding:50px;color:var(--white);text-align:center;margin-bottom:40px}
.exam-hero i{font-size:64px;color:var(--yellow);margin-bottom:20px}.exam-hero h2{font:800 32px 'Montserrat',sans-serif;margin-bottom:15px}.exam-hero p{font-size:16px;color:rgba(255,255,255,.8);max-width:500px;margin:0 auto 25px}
.exam-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:25px;margin-top:40px}
.exam-step{background:var(--white);border-radius:16px;padding:30px;text-align:center;box-shadow:0 4px 15px rgba(0,0,0,.06)}
.exam-step .num{width:50px;height:50px;background:var(--yellow);color:var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font:800 20px 'Montserrat',sans-serif;margin:0 auto 15px}.exam-step h4{font-size:16px;margin-bottom:8px;color:var(--navy)}.exam-step p{font-size:13px;color:var(--muted)}

.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
.doc-card{background:var(--white);border-radius:12px;padding:25px;display:flex;align-items:center;gap:18px;box-shadow:0 2px 10px rgba(0,0,0,.05);border:1px solid #e2e8f0;transition:.2s}.doc-card:hover{border-color:var(--navy);transform:translateY(-3px)}
.doc-icon{width:55px;height:55px;background:linear-gradient(135deg,var(--navy),#1e3a8a);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.doc-icon i{font-size:24px;color:var(--yellow)}
.doc-info h4{font-size:15px;margin-bottom:5px;color:var(--navy)}.doc-info p{font-size:12px;color:var(--muted);margin-bottom:8px}.doc-info .download{font-size:12px;color:var(--info);font-weight:600}
.doc-category{grid-column:1/-1;font:700 18px 'Montserrat',sans-serif;color:var(--navy);margin:20px 0 10px;padding-bottom:10px;border-bottom:2px solid var(--yellow)}.doc-category:first-child{margin-top:0}

.cert-search{max-width:600px;margin:0 auto}.search-box{background:var(--white);border-radius:20px;padding:40px;box-shadow:0 10px 40px rgba(0,0,0,.08)}
.search-box h3{font:700 22px 'Montserrat',sans-serif;text-align:center;margin-bottom:25px;color:var(--navy)}
.search-type{display:flex;gap:15px;margin-bottom:20px}.search-type label{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;padding:15px;border:2px solid #e2e8f0;border-radius:12px;cursor:pointer;font-weight:600;font-size:14px;transition:.2s}.search-type input{display:none}.search-type input:checked+label{border-color:var(--navy);background:var(--light);color:var(--navy)}
.search-input{position:relative;margin-bottom:20px}.search-input input{width:100%;padding:16px 20px;border:2px solid #e2e8f0;border-radius:12px;font-size:16px;transition:.2s}.search-input input:focus{outline:none;border-color:var(--navy)}.search-input i{position:absolute;right:20px;top:50%;transform:translateY(-50%);color:var(--muted)}
.search-btn{width:100%;padding:16px;background:var(--navy);color:var(--white);border:none;border-radius:12px;font-size:16px;font-weight:700;cursor:pointer;transition:.2s}.search-btn:hover{background:var(--navy-dark)}

.cert-result{margin-top:30px}.cert-card{background:linear-gradient(135deg,var(--navy),#1e3a8a);border-radius:20px;padding:35px;color:var(--white);position:relative;overflow:hidden;margin-bottom:20px}
.cert-card::before{content:'';position:absolute;top:-50px;right:-50px;width:200px;height:200px;background:rgba(249,200,14,.1);border-radius:50%}
.cert-card .verified{position:absolute;top:20px;right:20px;background:var(--success);padding:8px 16px;border-radius:20px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:6px}
.cert-card h4{font:700 20px 'Montserrat',sans-serif;margin-bottom:20px;color:var(--yellow)}
.cert-details{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cert-detail{background:rgba(255,255,255,.1);padding:15px;border-radius:10px}.cert-detail label{font-size:11px;color:rgba(255,255,255,.6);display:block;margin-bottom:5px}.cert-detail span{font-size:14px;font-weight:600}
.cert-error{background:#fee2e2;color:#991b1b;padding:20px;border-radius:12px;text-align:center;margin-top:20px}

.past-section{margin-top:50px;padding-top:40px;border-top:1px solid #e2e8f0}.past-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:15px}
.past-item{background:var(--white);padding:18px 22px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 8px rgba(0,0,0,.04)}.past-item .info h4{font-size:14px;margin-bottom:3px}.past-item .info p{font-size:12px;color:var(--muted)}.past-item .count{background:var(--light);padding:8px 14px;border-radius:8px;font-size:12px;font-weight:600;color:var(--navy)}

.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}.empty-state i{font-size:64px;color:#e2e8f0;margin-bottom:20px}.empty-state h3{color:var(--navy);margin-bottom:10px}

.footer{background:var(--navy-dark);color:var(--white);padding:40px 0;margin-top:60px}.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px}.footer h4{color:var(--yellow);font-size:16px;margin-bottom:15px}.footer p,.footer a{font-size:14px;color:rgba(255,255,255,.7);line-height:2}.footer a:hover{color:var(--yellow)}

.wa-fab{position:fixed;bottom:25px;right:25px;width:60px;height:60px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,.4);z-index:1000;transition:.3s}.wa-fab:hover{transform:scale(1.1)}.wa-fab svg{width:32px;height:32px;fill:var(--white)}

/* ============================================
   PORTAL PAGE
   ============================================ */
:root{--navy:#0b1a57;--yellow:#f9c80e;--text:#1f2a44;--muted:#5b6785;--bg:#f8f9fa}
*{box-sizing:border-box}body{margin:0;font-family:'Poppins',sans-serif;color:var(--text);background:var(--bg);min-height:100vh;padding-bottom:80px}
a{text-decoration:none;color:inherit}.container{width:min(100% - 32px,1100px);margin-inline:auto}

header{background:var(--navy);padding:15px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand-link{display:flex;align-items:center;gap:10px}
.brand__logo{width:45px;height:45px;border-radius:50%}
.brand__name{font:700 16px 'Montserrat',sans-serif;color:var(--yellow)}
.nav-right{display:flex;gap:12px;align-items:center}
.nav-right a{color:#fff;font-size:14px;padding:8px 14px;border-radius:8px}
.nav-right a:hover{background:var(--yellow);color:var(--navy)}
.user-info{color:#fff;display:flex;align-items:center;gap:8px}
.user-avatar{width:34px;height:34px;background:var(--yellow);color:var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700}

.auth-wrap{display:flex;align-items:center;justify-content:center;min-height:calc(100vh - 150px);padding:30px 15px}
.auth-box{background:#fff;border-radius:16px;box-shadow:0 10px 40px rgba(0,0,0,.1);width:100%;max-width:420px}
.auth-header{background:var(--navy);color:#fff;padding:25px;text-align:center;border-radius:16px 16px 0 0}
.auth-header h1{margin:0;font-size:22px}
.auth-header p{margin:8px 0 0;opacity:.8;font-size:13px}
.auth-body{padding:25px}
.auth-footer{text-align:center;padding:15px;border-top:1px solid #eee;font-size:14px}
.auth-footer a{color:var(--navy);font-weight:600}

.form-group{margin-bottom:18px}
.form-group label{display:block;margin-bottom:5px;font-weight:600;font-size:14px}
.form-control{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit}
.form-control:focus{outline:none;border-color:var(--yellow)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--yellow);color:var(--navy)}
.btn-primary:hover{background:#e6b800}
.btn-outline{background:transparent;border:2px solid var(--navy);color:var(--navy)}

.alert{padding:12px;border-radius:8px;margin-bottom:15px;font-size:14px}
.alert-error{background:#fee2e2;color:#dc2626}
.alert-success{background:#dcfce7;color:#16a34a}

.dashboard{padding:30px 0}
.dash-header{margin-bottom:25px}
.dash-header h1{margin:0;font-size:clamp(20px,4vw,26px)}
.dash-header h1 span{color:var(--yellow)}

.tabs{display:flex;gap:8px;margin-bottom:25px;flex-wrap:wrap}
.tab{padding:10px 18px;background:#fff;border:2px solid #e5e7eb;border-radius:10px;font-weight:600;font-size:13px;color:var(--muted)}
.tab:hover{border-color:var(--navy)}
.tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}

.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px;margin-bottom:25px}
.stat-box{background:#fff;padding:18px;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.stat-box .icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;font-size:18px}
.stat-box .icon.blue{background:#dbeafe;color:#2563eb}
.stat-box .icon.green{background:#dcfce7;color:#16a34a}
.stat-box .icon.yellow{background:#fef3c7;color:#d97706}
.stat-box .icon.purple{background:#f3e8ff;color:#9333ea}
.stat-box h3{margin:0;font-size:26px}
.stat-box p{margin:4px 0 0;color:var(--muted);font-size:12px}

.card{background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);margin-bottom:20px}
.card-header{padding:16px 20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}
.card-header h2{margin:0;font-size:16px;display:flex;align-items:center;gap:8px}
.card-header h2 i{color:var(--yellow)}
.card-header a{color:var(--yellow);font-size:13px;font-weight:600}
.card-body{padding:20px}

.app-item{display:flex;align-items:center;gap:15px;padding:14px;background:#f8f9fa;border-radius:10px;margin-bottom:10px}
.app-icon{width:42px;height:42px;background:var(--navy);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--yellow);font-size:16px;flex-shrink:0}
.app-info{flex:1;min-width:0}
.app-info h4{margin:0 0 3px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-info p{margin:0;font-size:11px;color:var(--muted)}
.app-status{text-align:right;flex-shrink:0}
.badge{display:inline-block;padding:4px 10px;border-radius:15px;font-size:10px;font-weight:600}
.badge-pending{background:#fef3c7;color:#92400e}
.badge-documents_review{background:#e0e7ff;color:#3730a3}
.badge-approved{background:#dcfce7;color:#166534}
.badge-rejected{background:#fee2e2;color:#991b1b}
.badge-enrolled{background:#dbeafe;color:#1e40af}
.badge-completed,.badge-certificate_ready{background:#d1fae5;color:#065f46}
.app-date{font-size:10px;color:var(--muted);margin-top:3px}
.app-actions{margin-top:8px}
.app-actions a{display:inline-block;padding:5px 10px;background:var(--yellow);color:var(--navy);border-radius:5px;font-size:11px;font-weight:600;margin-right:5px}

.docs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px}
.doc-card{border:2px dashed #e5e7eb;border-radius:10px;padding:18px;text-align:center;position:relative}
.doc-card:hover{border-color:var(--navy)}
.doc-card.uploaded{border:2px solid #22c55e;background:#f0fdf4}
.doc-card.required::before{content:'Zorunlu';position:absolute;top:6px;right:6px;background:#fee2e2;color:#991b1b;padding:2px 6px;border-radius:4px;font-size:9px;font-weight:600}
.doc-card .icon{font-size:28px;color:#ccc;margin-bottom:8px}
.doc-card.uploaded .icon{color:#22c55e}
.doc-card h4{margin:0 0 10px;font-size:13px}
.doc-card input[type="file"]{display:none}
.doc-card .upload-btn{display:inline-block;padding:8px 14px;background:var(--navy);color:#fff;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer}
.doc-card.uploaded .upload-btn{background:#22c55e}
.doc-card .preview{margin-top:8px}
.doc-card .preview img{max-width:100%;max-height:80px;border-radius:5px}

.quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.quick-link{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#fff;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.05);font-weight:600;font-size:13px}
.quick-link:hover{box-shadow:0 4px 12px rgba(0,0,0,.1)}
.quick-link i{color:var(--yellow)}

.empty{text-align:center;padding:30px;color:var(--muted)}
.empty i{font-size:40px;color:#e5e7eb;margin-bottom:10px}
.empty h4{margin:0 0 5px;color:var(--text)}

.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}
@media(max-width:500px){.form-row{grid-template-columns:1fr}}

.sticky-footer{position:fixed;bottom:0;left:0;right:0;background:linear-gradient(180deg,#0c1530,#0a1128);z-index:1000}
.sticky-footer__inner{display:flex;justify-content:center;gap:25px;padding:12px 20px;flex-wrap:wrap}
.footer-item{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;font-size:13px;padding:8px 16px;border-radius:25px;background:rgba(255,255,255,.08)}
.footer-item:hover{background:var(--yellow);color:var(--navy)}

/* ============================================
   KURS_DETAY PAGE
   ============================================ */
:root{--brand-navy:#0b1a57;--brand-yellow:#f9c80e;--text:#1f2a44;--muted:#5b6785;--bg:#f8f9fa}
*{box-sizing:border-box}body{margin:0;font-family:'Poppins',sans-serif;color:var(--text);background:var(--bg);min-height:100vh;padding-bottom:100px}
a{text-decoration:none;color:inherit}.container{width:min(100% - 32px,1000px);margin-inline:auto}

header{background:var(--brand-navy);padding:15px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand-link{display:flex;align-items:center;gap:10px}
.brand__logo{width:45px;height:45px;border-radius:50%}
.brand__name{font:700 16px 'Montserrat',sans-serif;color:var(--brand-yellow)}
.back-link{color:var(--brand-yellow);font-weight:600;font-size:14px}

.hero{background:linear-gradient(135deg,var(--brand-navy),#1e3a8a);color:#fff;padding:40px 0}
.hero h1{margin:0 0 15px;font-size:clamp(20px,4vw,28px)}
.hero-meta{display:flex;flex-wrap:wrap;gap:20px;font-size:14px}
.hero-meta span{display:flex;align-items:center;gap:6px}
.hero-meta i{color:var(--brand-yellow)}
.hero-badge{display:inline-block;padding:6px 14px;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:15px}
.badge-open{background:#22c55e}
.badge-ongoing{background:#3b82f6}

.content{padding:30px 0}
.grid{display:grid;grid-template-columns:1fr 320px;gap:25px}
@media(max-width:800px){.grid{grid-template-columns:1fr}}

.card{background:#fff;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.06);margin-bottom:20px;overflow:hidden}
.card-header{padding:18px 20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}
.card-header h3{margin:0;font-size:16px;display:flex;align-items:center;gap:8px}
.card-header h3 i{color:var(--brand-yellow)}
.card-body{padding:20px}

/* Files */
.file-list{list-style:none;padding:0;margin:0}
.file-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f8f9fa;border-radius:8px;margin-bottom:10px}
.file-item:last-child{margin-bottom:0}
.file-icon{width:40px;height:40px;background:var(--brand-navy);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;flex-shrink:0}
.file-icon.pdf{background:#ef4444}
.file-icon.img{background:#22c55e}
.file-icon.doc{background:#3b82f6}
.file-info{flex:1;min-width:0}
.file-info h5{margin:0 0 3px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-info p{margin:0;font-size:11px;color:var(--muted)}
.file-download{padding:8px 12px;background:var(--brand-yellow);color:var(--brand-navy);border-radius:6px;font-size:12px;font-weight:600}
.file-download:hover{background:#e6b800}

/* Upload Form */
.upload-form{background:#f8f9fa;border-radius:10px;padding:20px}
.upload-form h4{margin:0 0 15px;font-size:15px}
.form-group{margin-bottom:15px}
.form-group label{display:block;margin-bottom:5px;font-weight:600;font-size:13px}
.form-control{width:100%;padding:10px 12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit}
.form-control:focus{outline:none;border-color:var(--brand-yellow)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 20px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--brand-yellow);color:var(--brand-navy)}
.btn-primary:hover{background:#e6b800}
.btn-outline{background:transparent;border:2px solid var(--brand-navy);color:var(--brand-navy)}
.btn-lg{width:100%}

/* Alert */
.alert{padding:12px 16px;border-radius:8px;margin-bottom:20px;font-size:14px}
.alert-error{background:#fee2e2;color:#991b1b}
.alert-success{background:#dcfce7;color:#166534}
.alert-info{background:#dbeafe;color:#1e40af}

/* Sidebar */
.sidebar .card{margin-bottom:15px}
.info-list{list-style:none;padding:0;margin:0}
.info-list li{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eee;font-size:14px}
.info-list li:last-child{border-bottom:none}
.info-list li strong{color:var(--brand-navy)}

/* Capacity */
.capacity-bar{margin:15px 0}
.capacity-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:5px}
.capacity-track{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}
.capacity-fill{height:100%;background:#22c55e;border-radius:4px}

/* Sticky Footer */
.sticky-footer{position:fixed;bottom:0;left:0;right:0;background:linear-gradient(180deg,#0c1530,#0a1128);z-index:1000}
.sticky-footer__inner{display:flex;justify-content:center;gap:30px;padding:12px 20px}
.footer-item{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:600;font-size:13px;padding:8px 16px;border-radius:25px;background:rgba(255,255,255,.08);transition:.2s}
.footer-item:hover{background:var(--brand-yellow);color:var(--brand-navy)}

/* Lock */
.locked-notice{text-align:center;padding:30px;color:var(--muted)}
.locked-notice i{font-size:40px;color:#e5e7eb;margin-bottom:10px}
.locked-notice h4{margin:0 0 8px;color:var(--text)}
.locked-notice p{margin:0 0 15px;font-size:14px}

/* ============================================
   SERTIFIKA_SORGULA PAGE
   ============================================ */
:root {
    --navy: #0b1a57;
    --yellow: #f9c80e;
    --text: #1f2a44;
    --bg: #f8fafc;
    --success: #16a34a;
    --danger: #dc2626;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Header */
header {
    background: var(--navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    color: var(--yellow);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.back-link:hover { opacity: 1; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Search Card */
.search-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: -50px;
    position: relative;
}
.search-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.search-form input {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 18px;
    font-family: inherit;
    transition: all 0.2s;
}
.search-form input:focus {
    border-color: var(--navy);
    outline: none;
    box-shadow: 0 0 0 4px rgba(11,26,87,0.1);
}
.search-form button {
    padding: 18px 35px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    font-family: inherit;
}
.search-form button:hover {
    background: var(--yellow);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Alerts */
.alert {
    padding: 18px 25px;
    border-radius: 12px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}
.alert-danger {
    background: #fee2e2;
    color: var(--danger);
    border: 1px solid #fecaca;
}
.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.alert i { font-size: 20px; }

/* Result */
.result-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 30px;
}
.result-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 25px;
}
.result-icon {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 28px;
    flex-shrink: 0;
}
.result-title h2 {
    font-size: 24px;
    color: var(--navy);
    margin: 0 0 5px;
}
.result-title p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Certificate Card */
.cert-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.2s;
}
.cert-card:hover {
    border-color: var(--navy);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.cert-card:last-child { margin-bottom: 0; }

.cert-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.cert-item {
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}
.cert-item label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.cert-item span {
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
}

.verify-link {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f0fdf4;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
}
.verify-link label {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.verify-link a {
    color: var(--success);
    word-break: break-all;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.verify-link a:hover { text-decoration: underline; }

/* Footer Note */
.footer-note {
    margin-top: 40px;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.footer-note i { margin-right: 8px; }

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero { padding: 50px 20px; }
    .hero h1 { font-size: 26px; }
    .search-card { padding: 25px; margin-top: -30px; }
    .search-form input, .search-form button { padding: 15px 20px; font-size: 16px; }
    .result-header { flex-direction: column; text-align: center; }
    .cert-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   SINAV PAGE
   ============================================ */
:root{--brand-navy:#0b1a57;--brand-yellow:#f9c80e;--text:#1f2a44;--muted:#6b7280;--bg:#f8fafc}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Poppins',sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
.container{max-width:900px;margin:0 auto;padding:20px}
header{background:var(--brand-navy);padding:15px 0}
.header-inner{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:0 20px}
.brand{display:flex;align-items:center;gap:10px;color:var(--brand-yellow);font-weight:700;font-size:18px;text-decoration:none}
.back-link{color:#fff;text-decoration:none;font-size:14px}
.back-link:hover{color:var(--brand-yellow)}

.page-title{text-align:center;margin:40px 0}
.page-title h1{font-size:32px;color:var(--brand-navy)}
.page-title p{color:var(--muted)}

.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:40px}
.category-card{background:#fff;border-radius:16px;padding:25px;box-shadow:0 4px 15px rgba(0,0,0,.05);transition:.3s;border:2px solid transparent}
.category-card:hover{transform:translateY(-5px);border-color:var(--brand-yellow)}
.category-card h3{font-size:18px;margin-bottom:10px;color:var(--brand-navy)}
.category-card p{font-size:14px;color:var(--muted);margin-bottom:15px}
.category-card .meta{display:flex;gap:15px;font-size:13px;color:var(--muted);margin-bottom:20px}
.category-card .btn{display:inline-block;background:var(--brand-navy);color:#fff;padding:10px 25px;border-radius:8px;text-decoration:none;font-weight:600;transition:.2s}
.category-card .btn:hover{background:var(--brand-yellow);color:var(--brand-navy)}

/* Sınav Ekranı */
.exam-container{background:#fff;border-radius:16px;padding:30px;box-shadow:0 4px 15px rgba(0,0,0,.05)}
.exam-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:1px solid #eee}
.exam-header h2{font-size:20px}
.timer{background:var(--brand-navy);color:#fff;padding:8px 20px;border-radius:8px;font-weight:700}

.question-card{background:#f9fafb;padding:25px;border-radius:12px;margin-bottom:20px;border-left:4px solid var(--brand-navy)}
.question-num{display:inline-block;background:var(--brand-navy);color:#fff;width:30px;height:30px;border-radius:50%;text-align:center;line-height:30px;font-size:14px;font-weight:700;margin-bottom:15px}
.question-text{font-size:16px;font-weight:600;margin-bottom:20px}
.options{display:flex;flex-direction:column;gap:10px}
.option-label{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#fff;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:.2s}
.option-label:hover{border-color:var(--brand-navy);background:#f0f9ff}
.option-label input{display:none}
.option-label input:checked + .option-text{font-weight:600}
.option-label:has(input:checked){border-color:var(--brand-navy);background:#dbeafe}
.option-letter{width:28px;height:28px;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px}
.option-label:has(input:checked) .option-letter{background:var(--brand-navy);color:#fff}

/* Anlık Feedback Stilleri */
.instant-badge{background:#fef3c7;color:#92400e;padding:5px 12px;border-radius:20px;font-size:12px;font-weight:600}
.score-tracker{display:flex;justify-content:center;gap:20px;margin-bottom:20px;padding:15px;background:#f8fafc;border-radius:10px}
.score-tracker .correct-count{color:#22c55e;font-weight:700;font-size:18px}
.score-tracker .wrong-count{color:#ef4444;font-weight:700;font-size:18px}

.question-card.answered{pointer-events:none;opacity:0.9}
.question-card.correct{border-left-color:#22c55e;background:#f0fdf4}
.question-card.wrong{border-left-color:#ef4444;background:#fef2f2}

.option-label.correct-answer{border-color:#22c55e!important;background:#dcfce7!important}
.option-label.correct-answer .option-letter{background:#22c55e!important;color:#fff!important}
.option-label.wrong-answer{border-color:#ef4444!important;background:#fee2e2!important}
.option-label.wrong-answer .option-letter{background:#ef4444!important;color:#fff!important}

.explanation-box{margin-top:15px;padding:12px 15px;background:#fef9c3;border-radius:8px;font-size:13px;color:#854d0e;border-left:3px solid #eab308}
.explanation-box i{margin-right:8px}

.exam-actions{display:flex;justify-content:space-between;margin-top:30px;padding-top:20px;border-top:1px solid #eee}
.btn-submit{background:var(--brand-yellow);color:var(--brand-navy);padding:15px 40px;border:none;border-radius:10px;font-size:16px;font-weight:700;cursor:pointer;transition:.2s}
.btn-submit:hover{transform:scale(1.02)}

/* Sonuç Ekranı */
.result-card{text-align:center;padding:40px}
.result-icon{width:100px;height:100px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;font-size:48px}
.result-icon.passed{background:#dcfce7;color:#22c55e}
.result-icon.failed{background:#fee2e2;color:#ef4444}
.result-score{font-size:48px;font-weight:700;color:var(--brand-navy)}
.result-text{font-size:18px;color:var(--muted);margin:10px 0 30px}
.result-stats{display:flex;justify-content:center;gap:30px;margin-bottom:30px}
.stat{text-align:center}
.stat-value{font-size:24px;font-weight:700;display:block}
.stat-value.correct{color:#22c55e}
.stat-value.wrong{color:#ef4444}
.stat-label{font-size:13px;color:var(--muted)}

.details-list{text-align:left;margin-top:30px}
.detail-item{background:#f9fafb;padding:15px;border-radius:8px;margin-bottom:10px;border-left:4px solid #e5e7eb}
.detail-item.correct{border-color:#22c55e;background:#f0fdf4}
.detail-item.wrong{border-color:#ef4444;background:#fef2f2}
.detail-question{font-weight:600;margin-bottom:10px}
.detail-answer{font-size:14px}
.detail-explanation{font-size:13px;color:#6b7280;margin-top:10px;padding-top:10px;border-top:1px dashed #ddd}

/* ============================================
   ON_KAYIT PAGE
   ============================================ */
:root{--brand-navy:#0b1a57;--brand-navy-10d:#09164b;--brand-yellow:#f9c80e;--text:#1f2a44;--muted:#5b6785;--bg:#fff}
*{box-sizing:border-box}body{margin:0;font-family:'Poppins',system-ui,sans-serif;color:var(--text);background:#f1f5f9;line-height:1.6;padding-bottom:80px}
a{text-decoration:none;color:inherit}.container{width:min(100% - 32px,600px);margin-inline:auto}
header{background:var(--brand-navy-10d);padding:15px 0;text-align:center}
.logo{display:inline-flex;align-items:center;gap:10px;color:var(--brand-yellow);font-weight:800;font-size:18px}
.logo img{width:40px;height:40px;border-radius:50%}
.main{padding:40px 0}
.card{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}
.card-header{background:var(--brand-navy);color:#fff;padding:25px;text-align:center}
.card-header h1{margin:0 0 5px;font-size:20px}
.card-header p{margin:0;color:#cfe0ff;font-size:14px}
.card-body{padding:30px}
.course-info{background:#f8fafc;border-radius:12px;padding:20px;margin-bottom:25px;border-left:4px solid var(--brand-yellow)}
.course-info h3{margin:0 0 10px;color:var(--brand-navy);font-size:16px}
.course-info .detail{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-top:8px}
.course-info .detail i{color:var(--brand-navy);width:16px}
.user-info{background:#ecfdf5;border-radius:12px;padding:20px;margin-bottom:25px;border-left:4px solid #22c55e}
.user-info h4{margin:0 0 10px;color:#166534;font-size:14px}
.user-info p{margin:0;font-size:14px}
.user-info .change{font-size:12px;color:#166534;margin-top:10px}
.user-info .change a{text-decoration:underline}
.form-group{margin-bottom:20px}
.form-group label{display:block;margin-bottom:6px;font-weight:600;font-size:14px}
.form-control{width:100%;padding:12px 15px;border:2px solid #e5e7eb;border-radius:10px;font-size:14px;font-family:inherit}
.form-control:focus{outline:none;border-color:var(--brand-navy)}
.radio-group{display:flex;gap:20px}
.radio-item{display:flex;align-items:center;gap:8px;cursor:pointer}
.radio-item input{width:18px;height:18px}
.btn{display:block;width:100%;padding:15px;border:none;border-radius:10px;font-weight:700;font-size:15px;cursor:pointer;font-family:inherit}
.btn-primary{background:var(--brand-yellow);color:var(--brand-navy)}
.btn-primary:hover{background:#e6b800}
.alert{padding:15px;border-radius:10px;margin-bottom:20px;font-size:14px}
.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.back-link{display:block;text-align:center;margin-top:20px;color:var(--muted);font-size:14px}
.back-link:hover{color:var(--brand-navy)}
.sticky-footer{position:fixed;bottom:0;left:0;right:0;background:linear-gradient(180deg,#0c1530,#0a1128);z-index:1000;padding:12px 20px}
.sticky-footer__inner{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}
.footer-item{display:inline-flex;align-items:center;gap:8px;color:#fff;font-size:13px;padding:8px 16px;border-radius:25px;background:rgba(255,255,255,.08)}

/* ============================================
   EGITIM_TAKVIMI PAGE
   ============================================ */
:root {
    --navy: #0b1a57;
    --navy-light: #1e3a8a;
    --yellow: #f9c80e;
    --yellow-light: #fde047;
    --text: #1f2a44;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}
.logo img { height: 45px; }
.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--yellow);
}
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
    transition: all 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--yellow); }
.nav-links .btn-cta {
    background: var(--yellow);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 1;
}
.nav-links .btn-cta:hover { background: var(--yellow-light); }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249,200,14,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Quick Actions */
.quick-actions {
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 10;
}
.action-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text);
    border: 2px solid transparent;
}
.action-card:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.action-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}
.action-card.exam .icon { background: #dbeafe; color: #2563eb; }
.action-card.student .icon { background: #dcfce7; color: #16a34a; }
.action-card.cert .icon { background: #fef3c7; color: #d97706; }
.action-card.contact .icon { background: #f3e8ff; color: #9333ea; }
.action-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--navy);
}
.action-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Section Title */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.section-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Course Grid */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}
.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.course-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 20px;
    color: var(--white);
    position: relative;
}
.course-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--yellow);
    color: var(--navy);
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
}
.course-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}
.course-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding-right: 100px;
}
.course-body {
    padding: 20px;
}
.course-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.course-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.course-info-item i {
    width: 35px;
    height: 35px;
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}
.course-info-item span { color: var(--text-light); }
.course-info-item strong { color: var(--text); }
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}
.course-capacity {
    font-size: 13px;
    color: var(--text-light);
}
.course-capacity strong { color: var(--success); }
.btn-register {
    background: var(--navy);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}
.btn-register:hover {
    background: var(--yellow);
    color: var(--navy);
}

/* No Courses */
.no-courses {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
}
.no-courses i {
    font-size: 60px;
    color: #e5e7eb;
    margin-bottom: 20px;
}
.no-courses h3 {
    color: var(--navy);
    margin-bottom: 10px;
}
.no-courses p { color: var(--text-light); }

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: var(--text);
}
.service-card:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
}
.service-card i {
    font-size: 32px;
    color: var(--navy);
    margin-bottom: 15px;
}
.service-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
}
.footer-links a:hover { opacity: 1; }
.footer-copy {
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 28px; }
    .hero { padding: 40px 20px; }
    .quick-actions { margin-top: -30px; }
    .course-grid { grid-template-columns: 1fr; }
    .course-header h3 { padding-right: 0; font-size: 16px; }
    .course-date { position: static; display: inline-block; margin-bottom: 10px; }
}