:root{
  --green:#078642;
  --green2:#10b981;
  --blue:#0ea5e9;
  --dark:#071322;
  --text:#0f172a;
  --muted:#475569;
  --border:#dbe4ef;
  --bg:#f3f7fb;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

a{text-decoration:none;color:inherit}

.courses-hero{
  background:
    linear-gradient(135deg,rgba(7,19,34,.96),rgba(7,134,66,.92)),
    url("/assets/images/rw-training-slider-1.png.png");
  background-size:cover;
  background-position:center;
  color:#fff;
  padding:95px 24px 120px;
}

.courses-hero-inner{
  max-width:1240px;
  margin:auto;
}

.eyebrow{
  display:inline-block;
  background:#ecfdf5;
  color:#047857;
  padding:9px 16px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  margin-bottom:16px;
}

.courses-hero h1{
  max-width:980px;
  font-size:58px;
  line-height:1.04;
  letter-spacing:-2px;
  margin:0 0 18px;
}

.courses-hero p{
  max-width:900px;
  font-size:20px;
  line-height:1.7;
  color:#e2e8f0;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:linear-gradient(135deg,var(--green2),var(--blue));
  color:#fff!important;
  padding:14px 22px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(14,165,233,.22);
}

.btn.dark{background:var(--dark)}
.btn.light{background:#ecfdf5;color:#047857!important}

.courses-wrap{
  max-width:1240px;
  margin:auto;
  padding:0 18px 60px;
}

.search-panel{
  margin-top:-55px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:28px;
  box-shadow:0 24px 70px rgba(15,23,42,.16);
  padding:22px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr auto;
  gap:12px;
}

.search-panel input,
.search-panel select{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:16px;
  padding:15px;
  font-size:15px;
  background:#fff;
}

.market-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:32px 0;
}

.market-stats div{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:24px;
  box-shadow:0 16px 44px rgba(15,23,42,.06);
}

.market-stats strong{
  display:block;
  color:var(--green);
  font-size:34px;
  margin-bottom:6px;
}

.market-stats span{
  color:var(--muted);
  font-weight:800;
}

.section-head{
  margin:46px 0 20px;
}

.section-head h2{
  font-size:38px;
  line-height:1.1;
  letter-spacing:-1px;
  margin:0;
}

.academy-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:18px;
}

.academy-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:24px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
  cursor:pointer;
  transition:.2s ease;
}

.academy-card:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 70px rgba(15,23,42,.12);
}

.academy-card .icon{
  font-size:38px;
  margin-bottom:12px;
}

.academy-card h3{
  margin:0 0 8px;
  font-size:22px;
}

.academy-card p{
  color:var(--muted);
  line-height:1.6;
  margin:0;
}

.course-count{
  color:var(--muted);
  font-weight:900;
  margin-bottom:16px;
}

.courses-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:22px;
}

.course-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:26px;
  padding:24px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
  min-height:360px;
}

.course-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.course-icon{
  font-size:36px;
}

.course-card h3{
  font-size:22px;
  line-height:1.2;
  margin:14px 0 8px;
}

.course-card p{
  color:var(--muted);
  line-height:1.6;
  margin:0 0 16px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:10px 0;
}

.badge{
  display:inline-block;
  background:#ecfdf5;
  color:#047857;
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:900;
}

.badge.blue{background:#e0f2fe;color:#0369a1}
.badge.gold{background:#fff7ed;color:#9a3412}
.badge.dark{background:#071322;color:#fff}

.course-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:14px 0 18px;
}

.course-meta div{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:12px;
  font-size:14px;
}

.course-meta strong{
  display:block;
  color:var(--dark);
  margin-bottom:4px;
}

.course-card .btn{
  margin-top:auto;
}

.partner-block{
  margin-top:55px;
  background:linear-gradient(135deg,#071322,#078642);
  color:#fff;
  border-radius:32px;
  padding:42px;
  box-shadow:0 24px 80px rgba(15,23,42,.22);
}

.partner-block h2{
  font-size:40px;
  margin:0 0 14px;
}

.partner-block p{
  max-width:980px;
  color:#e2e8f0;
  line-height:1.7;
  font-size:18px;
}

.partner-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0;
}

.partner-tags span{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  padding:9px 14px;
  font-weight:900;
}

@media(max-width:1000px){
  .courses-hero h1{font-size:44px}
  .search-panel{grid-template-columns:1fr 1fr}
  .market-stats{grid-template-columns:1fr 1fr}
}

@media(max-width:650px){
  .courses-hero{padding:70px 18px 95px}
  .courses-hero h1{font-size:34px}
  .courses-hero p{font-size:17px}
  .search-panel{grid-template-columns:1fr;margin-top:-35px}
  .market-stats{grid-template-columns:1fr}
  .section-head h2{font-size:30px}
  .partner-block{padding:28px}
  .partner-block h2{font-size:30px}
}