/* ==========================================================================
   Trakanalytica Academy - Specialized Courses page (specialized-courses.php)
   All selectors are prefixed "sc-" so nothing here can collide with the
   shared rules in assets/style.css. Loaded only on this page through
   $pageCss in includes/header.php.
   ========================================================================== */

/* 1500px container (32px side padding included) */
.sc-wrap { max-width: 1500px; margin: 0 auto; padding: 0 32px; }
.sc-section { position: relative; padding: 88px 0; background: #fff; }
.sc-section--tint { background: var(--off-white); }

/* ---------- Shared bits ---------- */
.sc-ico {
  flex-shrink: 0; width: 52px; height: 52px; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%;
  font-size: 1.15rem; color: var(--purple-mid); background: rgba(124,58,237,0.08); border: 2px solid var(--purple-mid);
  transition: var(--transition);
}
.sc-ico--sm { width: 44px; height: 44px; font-size: 1rem; }

.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; text-align: center;
  cursor: pointer; transition: var(--transition);
}
.sc-btn i { font-size: 0.85em; transition: transform .25s ease; }
.sc-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.sc-btn--primary { background: linear-gradient(135deg, #AD4A06, #CC5E0A); color: #fff; box-shadow: 0 10px 28px rgba(173,74,6,0.32); }
.sc-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(173,74,6,0.42); }

/* ==========================================================================
   01  PAGE INTRODUCTION
   ========================================================================== */
.sc-hero {
  position: relative; overflow: hidden; color: #fff; padding: 96px 0 104px;
  background: linear-gradient(135deg, #0B1730 0%, #1A2E6B 55%, #4C1D95 100%);
}
.sc-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 420px at 88% 12%, rgba(167,139,250,0.36), transparent 70%),
    radial-gradient(460px 360px at 6% 98%, rgba(194,90,10,0.20), transparent 70%);
}
.sc-hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.sc-hero-grid { position: relative; z-index: 1; }
.sc-hero-copy { max-width: 1000px; margin: 0 auto; text-align: center; }
.sc-crumb { margin-bottom: 26px; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.sc-crumb a { color: rgba(255,255,255,0.85); }
.sc-crumb a:hover { color: #fff; }
.sc-crumb i { margin: 0 6px; font-size: 0.6rem; }
.sc-hero-copy h1 {
  margin: 0 0 16px; font-family: var(--font-head); font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 700; line-height: 1.16; color: #fff; text-wrap: balance;
}
.sc-hero-tag {
  margin: 0 0 22px; font-family: var(--font-head); font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700;
  background: linear-gradient(90deg, #E0B25A, #D08A38);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sc-hero-lead { max-width: 760px; margin: 0 auto; font-size: 1.15rem; line-height: 1.75; color: rgba(255,255,255,0.86); }
.sc-chips { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sc-chips li {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 10px;
  font-size: 0.93rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
}
.sc-chips li i { color: var(--accent-light); }

/* ==========================================================================
   02  SPECIALIZED COURSES
   ========================================================================== */
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.sc-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 52px 38px 40px; border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #FAF8FF 100%); border: 1px solid var(--light-gray);
  box-shadow: 0 14px 44px rgba(11,23,48,0.07); transition: var(--transition);
}
.sc-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--blue-bright), var(--purple-mid), #C25A0A); }
.sc-card::after { content: ""; position: absolute; top: -90px; right: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.10), transparent 70%); pointer-events: none; z-index: 0; }
.sc-card > * { position: relative; z-index: 1; }
.sc-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(11,23,48,0.13); }
.sc-card-top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.sc-card-top h2 { margin: 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; line-height: 1.3; color: var(--navy); }
.sc-desc { margin: 0 0 8px; padding-bottom: 26px; border-bottom: 1px solid var(--light-gray); font-size: 1rem; line-height: 1.8; color: var(--text-body); }
.sc-card h3 {
  display: flex; align-items: center; gap: 12px; margin: 28px 0 16px; font-family: var(--font-head); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple-mid);
}
.sc-card h3::before { content: ""; flex: 0 0 auto; width: 24px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #C25A0A, #E0B25A); }
.sc-list { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.sc-list li { position: relative; padding-left: 38px; font-size: 0.98rem; line-height: 1.55; color: var(--text-body); }
.sc-list li::before {
  content: "\f00c"; position: absolute; left: 0; top: -1px;
  width: 24px; height: 24px; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%;
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.62rem; color: var(--teal);
  background: rgba(13,148,136,0.06); border: 2px solid var(--teal);
}
.sc-outcome { margin-bottom: 26px; padding: 24px 26px 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(124,58,237,0.09), rgba(40,96,225,0.04)); border: 1px solid rgba(124,58,237,0.16); }
.sc-card .sc-outcome h3 { margin: 0 0 10px; }
.sc-outcome p { margin: 0; font-size: 0.98rem; line-height: 1.75; color: var(--navy); font-weight: 600; }
.sc-meta { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.sc-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--light-gray); box-shadow: 0 3px 10px rgba(11,23,48,0.04); font-size: 0.9rem; font-weight: 600; color: var(--text-body); }
.sc-meta li i { color: #C25A0A; }
.sc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: auto; padding-top: 30px; border-top: 1px dashed #D5DBEA;
}
.sc-price { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--navy); }
.sc-fee { display: flex; flex-direction: column; gap: 10px; }
.sc-fee-label { font-size: 0.85rem; font-weight: 500; color: #6f7d93; }
.sc-price .price-was { font-size: 0.55em; font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1.5px; color: #6f7d93; margin-right: 8px; }

/* ==========================================================================
   03  SHARED TRAINING ARRANGEMENTS
   ========================================================================== */
.sc-arrange {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.sc-arrange li {
  display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-radius: 20px;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--navy);
  background: #fff; border: 1px solid var(--light-gray); box-shadow: 0 8px 24px rgba(11,23,48,0.05); transition: var(--transition);
}
.sc-arrange li:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(124,58,237,0.25); }

/* ==========================================================================
   04  CUSTOMIZED TRAINING
   ========================================================================== */
.sc-cta { position: relative; overflow: hidden; padding: 96px 0; text-align: center; color: #fff; background: linear-gradient(135deg, #0B1730 0%, #1A2E6B 55%, #4C1D95 100%); }
.sc-cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(480px 360px at 85% 0%, rgba(167,139,250,0.30), transparent 70%),
    radial-gradient(440px 320px at 8% 100%, rgba(194,90,10,0.20), transparent 70%);
}
.sc-cta-inner { position: relative; z-index: 1; max-width: 860px; }
.sc-cta h2 { margin: 0 0 18px; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; line-height: 1.2; color: #fff; }
.sc-cta p { margin: 0 0 34px; font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,0.84); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .sc-section { padding: 68px 0; }
  .sc-hero { padding: 64px 0 76px; }
  .sc-cta { padding: 76px 0; }
  .sc-arrange { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sc-wrap { padding: 0 20px; }
  .sc-section { padding: 52px 0; }
  .sc-hero { padding: 56px 0 64px; }
  .sc-cta { padding: 60px 0; }
  .sc-grid, .sc-arrange { grid-template-columns: 1fr; }
  .sc-card { padding: 42px 22px 30px; }
  .sc-grid { gap: 28px; }
  .sc-chips li { width: 100%; justify-content: center; }
  .sc-foot { flex-direction: column; align-items: stretch; }
  .sc-foot .sc-btn, .sc-cta .sc-btn { width: 100%; }
}