:root {
  --primary: #0057d9;
  --primary-dark: #0041a8;
  --accent: #ff6a00;
  --accent-hover: #e55f00;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #1a1f36;
  --text-muted: #5c6378;
  --border: #e4e8f0;
  --success: #0d9f6e;
  --shadow: 0 4px 24px rgba(26, 31, 54, 0.08);
  --radius: 12px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.top-bar {
  background: linear-gradient(90deg, #003d99, var(--primary));
  color: #fff;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
.top-bar a { color: #ffd54f; font-weight: 600; margin-left: 0.35rem; }
.top-bar a:hover { text-decoration: underline; }

.header {
  position: sticky;
  margin: 25px;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-desktop { margin-left: auto; }
.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active { font-weight: 600; }
.search-wrap { flex: 1; max-width: 320px; position: relative; display: none; }
@media (min-width: 900px) { .search-wrap { display: block; } }
.search-wrap input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  background: var(--bg);
  outline: none;
}
.search-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.12);
}
.search-wrap svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: var(--text); font-weight: 500; font-size: 0.875rem; }
.btn-ghost:hover { color: var(--primary); }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 0.5rem; margin-left: auto; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
}
.mobile-nav.open { display: flex; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 1023px) { .nav-desktop { display: none; } }

.hero {
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero-slides { position: relative; min-height: 390px; }
@media (min-width: 768px) { .hero-slides { min-height: 390px; } }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.42) 100%);
}
.hero-slide .hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; padding: 4rem 1.25rem; }
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: #ffd54f; }
.hero p { font-size: 1.0625rem; opacity: 0.92; max-width: 520px; margin-bottom: 1.5rem; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; }
.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-features li::before {
  content: '✓';
  background: rgba(255,255,255,0.2);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
}
.hero-visual { display: none; justify-content: center; }
@media (min-width: 900px) { .hero-visual { display: flex; } }
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
}
.hero-card h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.hero-card .stack { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-card .tag {
  background: rgba(255,255,255,0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.hero-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s, width 0.2s;
}
.hero-dots button.active { background: #fff; width: 28px; border-radius: 5px; }

.page-hero {
  background: linear-gradient(135deg, #002354, #FE5D01);
    color: #fff;
    padding: 1.5rem 1.25rem;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; max-width: 640px; font-size: 1rem; }
.breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.breadcrumb a:hover { text-decoration: underline; }

.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) { .stats-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-item span { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; }

.partners { padding: 2rem 1.25rem; text-align: center; }
.partners p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; font-weight: 500; }
.partner-logos {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  opacity: 0.55;
}
.partner-logos span { font-weight: 700; font-size: 1rem; color: var(--text-muted); }

.section { max-width: 1280px; margin: 0 auto; padding: 2rem 1.25rem; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); font-size: 0.9375rem; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.category-tabs button {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all 0.2s;
}
.category-tabs button:hover,
.category-tabs button.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.course-card.hidden { display: none; }
.course-thumb {
  height: 140px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
}
.course-thumb.js { background: linear-gradient(135deg, #f7df1e, #d4a800); }
.course-thumb.react { background: linear-gradient(135deg, #61dafb, #087ea4); }
.course-thumb.node { background: linear-gradient(135deg, #68a063, #333); }
.course-thumb.ts { background: linear-gradient(135deg, #3178c6, #1e4a7a); }
.course-thumb.fullstack { background: linear-gradient(135deg, #667eea, #764ba2); }
.course-thumb.html { background: linear-gradient(135deg, #e44d26, #f16529); }
.course-thumb.mongo { background: linear-gradient(135deg, #47a248, #13aa52); }
.course-thumb.vue { background: linear-gradient(135deg, #42b883, #35495e); }
.course-thumb.graphql { background: linear-gradient(135deg, #e535ab, #311c87); }
.course-thumb .icon { font-size: 2.5rem; font-weight: 800; opacity: 0.9; }
.course-thumb .badge-popular {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.course-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 0.75rem; }
.course-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.course-meta strong { color: var(--text); font-weight: 600; }
.course-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.stars { color: #f5a623; letter-spacing: -1px; }
.course-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.course-price { font-weight: 800; font-size: 1.0625rem; color: var(--primary); }
.course-price small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.btn-sm:hover { background: var(--primary-dark); }

.why-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { text-align: center; padding: 1.5rem 1rem; }
.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(0, 87, 217, 0.08);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.875rem; color: var(--text-muted); }

.cta-banner {
  margin: 0 auto 3rem;
  max-width: 1230px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.cta-banner p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
}

.footer { background: #0f1629; color: #a8b0c5; padding: 3rem 1.25rem 1.5rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); } }
.footer .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer h4 { color: #fff; font-size: 0.875rem; font-weight: 700; margin-bottom: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul a { font-size: 0.8125rem; transition: color 0.2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.info-card p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }
.info-card .link { font-size: 0.875rem; font-weight: 600; color: var(--primary); }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-card .stars { margin-bottom: 0.75rem; }
.review-card blockquote { font-size: 0.9375rem; margin-bottom: 1rem; color: var(--text); }
.review-card .author { font-weight: 700; font-size: 0.875rem; }
.review-card .role { font-size: 0.8125rem; color: var(--text-muted); }

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 380px; } }

.form-title{
    font-size:34px;
    font-weight:700;
    color:#1e293b;
    text-align:center;
    margin-bottom:25px;
    position:relative;
}

.form-title span{
    margin-right:8px;
}

.form-title::after{
    content:"";
    width:80px;
    height:4px;
    background:linear-gradient(90deg,#2563eb,#8b5cf6);
    display:block;
    margin:12px auto 0;
    border-radius:20px;
}

.form-panel {
  background: rgb(229, 227, 227);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-color: #8c8c8c;
  padding: 2rem;
  max-width: 440px;
  margin: 0 auto;
}
.form-panel h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; text-align: center; }
.form-panel > p { text-align: center; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.1);
}
.form-panel .btn { width: 100%; margin-top: 0.5rem; }
.form-footer { text-align: center; font-size: 0.8125rem; color: var(--text-muted); margin-top: 1rem; }
.form-footer a { color: var(--primary); font-weight: 600; }

.curriculum { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.curriculum li {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.curriculum li:last-child { border-bottom: none; }
.curriculum li strong { display: block; margin-bottom: 0.25rem; }
.curriculum li span { font-size: 0.8125rem; color: var(--text-muted); }

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.sidebar-card .price { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.sidebar-card .price-old { font-size: 0.875rem; color: var(--text-muted); text-decoration: line-through; }
.sidebar-card ul { margin: 1rem 0; font-size: 0.875rem; }
.sidebar-card ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.sidebar-card .btn { width: 100%; margin-top: 0.5rem; }

.content-block h2 { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 1rem; }
.content-block p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.9375rem; }
.content-block ul { margin: 0 0 1rem 1.25rem; list-style: disc; color: var(--text-muted); font-size: 0.9375rem; }
.content-block ul li { margin-bottom: 0.35rem; }
.content-block a { color: var(--primary); font-weight: 500; }
.content-block a:hover { text-decoration: underline; }
.section > p a { color: var(--primary); font-weight: 500; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 0 auto 0.75rem;
}
.team-card h3 { font-size: 0.9375rem; font-weight: 700; }
.team-card p { font-size: 0.8125rem; color: var(--text-muted); }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.25rem 1rem; font-size: 0.875rem; color: var(--text-muted); }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-thumb { height: 160px; background: linear-gradient(135deg, var(--primary), #3d8bfd); }
.blog-body { padding: 1.25rem; }
.blog-body .date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.blog-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1rem; }

.free-badge {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.corporate-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .corporate-features { grid-template-columns: repeat(3, 1fr); } }
.corp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.corp-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }

