/* ═══════════════════════════════════════════════════════════════
   Website UI: courses list, course details, popular courses (home)
   Uses the theme variables of style.css (--colorPrimary, --colorBlack ...)
   Prefix: ws-
═══════════════════════════════════════════════════════════════ */
:root {
  --ws-primary: var(--colorPrimary, #ff7f46);
  --ws-primary-2: #ffa24d;
  --ws-primary-soft: #fff3ec;
  --ws-ink: var(--colorBlack, #0f2239);
  --ws-ink-2: #4a5568;
  --ws-ink-3: #8a93a5;
  --ws-blue: var(--colorBlue, #4582ff);
  --ws-blue-soft: #eef3ff;
  --ws-green: #16a34a;
  --ws-green-soft: #ecfdf3;
  --ws-star: var(--ratingColor, #f1cc38);
  --ws-bg: #f7f8fc;
  --ws-border: #e8ebf2;
  --ws-radius: 18px;
  --ws-shadow: 0 2px 6px rgba(15, 34, 57, .05), 0 10px 30px rgba(15, 34, 57, .07);
  --ws-shadow-lg: 0 18px 50px rgba(15, 34, 57, .14);
  --ws-head: var(--headingFont, 'Montserrat', sans-serif);
  --ws-font: var(--paraFont, 'Rubik', sans-serif);
}

/* ── Page hero ── */
.ws-hero {
  position: relative; overflow: hidden;
  padding: 60px 0 70px;
  background:
    radial-gradient(700px 360px at 92% 10%, rgba(255, 127, 70, .18), transparent 65%),
    radial-gradient(620px 320px at 0% 100%, rgba(69, 130, 255, .14), transparent 65%),
    linear-gradient(180deg, #fffaf6 0%, #f7f8fc 100%);
}
.ws-hero::after {
  content: ''; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  border: 40px solid rgba(255, 127, 70, .08);
}
.ws-hero > .container { position: relative; z-index: 1; }
.ws-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--ws-border); color: var(--ws-primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--ws-shadow); }
.ws-hero h1 { font-family: var(--ws-head); font-weight: 800; color: var(--ws-ink); font-size: clamp(28px, 4vw, 46px); line-height: 1.15; margin: 16px 0 12px; }
.ws-hero h1 span { color: var(--ws-primary); font: inherit; display: inline; margin: 0; text-transform: none; letter-spacing: normal; }
.ws-hero p.lead { color: var(--ws-ink-2); font-size: 17px; max-width: 640px; margin: 0; }
.ws-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 6px; font-size: 13px; color: var(--ws-ink-3); }
.ws-crumbs a { color: var(--ws-ink-3); }
.ws-crumbs a:hover { color: var(--ws-primary); }
.ws-crumbs li + li::before { content: '/'; margin-right: 6px; color: #c5cad6; }
.ws-crumbs-dark, .ws-crumbs-dark a { color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.ws-crumbs-dark li { color: rgba(255, 255, 255, .9); }
.ws-crumbs-dark li + li::before { color: rgba(255, 255, 255, .35); }

/* ── Buttons ── */
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 100px; border: 2px solid transparent; font-family: var(--ws-head); font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.ws-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ws-btn-primary { background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); color: #fff; box-shadow: 0 10px 24px rgba(255, 127, 70, .35); }
.ws-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(255, 127, 70, .45); }
.ws-btn-outline { background: #fff; border-color: var(--ws-border); color: var(--ws-ink); }
.ws-btn-outline:hover { border-color: var(--ws-primary); color: var(--ws-primary); }
.ws-btn-light { background: #fff; color: var(--ws-ink); }
.ws-btn-light:hover { color: var(--ws-primary); }
.ws-btn-block { width: 100%; }
.ws-btn-sm { padding: 9px 18px; font-size: 13px; }

/* ── Section titles ── */
.ws-section { padding: 70px 0; }
.ws-section.alt { background: var(--ws-bg); }
.ws-title { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.ws-title h5 { color: var(--ws-primary); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.ws-title h2 { font-family: var(--ws-head); font-weight: 800; color: var(--ws-ink); font-size: clamp(24px, 3vw, 36px); margin: 0; }
.ws-title p { color: var(--ws-ink-2); margin: 12px 0 0; }

/* ── Course filter bar ── */
.ws-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; margin-top: -34px; position: relative; z-index: 2; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); box-shadow: var(--ws-shadow-lg); }
.ws-search { position: relative; flex: 1 1 260px; }
.ws-search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border: 1px solid var(--ws-border); border-radius: 100px; background: var(--ws-bg); font-size: 15px; color: var(--ws-ink); outline: none; transition: border-color .15s, background .15s; }
.ws-search input:focus { border-color: var(--ws-primary); background: #fff; }
.ws-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ws-ink-3); }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-chip { padding: 10px 16px; border-radius: 100px; border: 1px solid var(--ws-border); background: #fff; color: var(--ws-ink-2); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.ws-chip span { margin-left: 4px; color: var(--ws-ink-3); font-weight: 500; }
.ws-chip:hover { border-color: var(--ws-primary); color: var(--ws-primary); }
.ws-chip.active { background: var(--ws-ink); border-color: var(--ws-ink); color: #fff; }
.ws-chip.active span { color: rgba(255, 255, 255, .65); }
.ws-count { margin: 26px 0 18px; color: var(--ws-ink-3); font-size: 14px; }
.ws-empty { display: none; text-align: center; padding: 60px 20px; color: var(--ws-ink-3); }
.ws-empty i { font-size: 40px; color: #d3d8e3; margin-bottom: 14px; display: block; }

/* ── Course card ── */
.ws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ws-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); overflow: hidden; box-shadow: var(--ws-shadow); transition: transform .2s, box-shadow .2s; color: inherit; text-decoration: none; }
.ws-card:hover { transform: translateY(-6px); box-shadow: var(--ws-shadow-lg); color: inherit; text-decoration: none; }
.ws-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--ws-blue-soft); overflow: hidden; }
.ws-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ws-card:hover .ws-card-img img { transform: scale(1.06); }
.ws-card-cat { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 100px; background: rgba(255, 255, 255, .95); color: var(--ws-ink); font-size: 11.5px; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.ws-card-title { font-family: var(--ws-head); font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--ws-ink); margin: 0 0 8px; }
.ws-card-desc { font-size: 13.5px; color: var(--ws-ink-2); line-height: 1.55; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ws-ink-3); margin-bottom: 14px; }
.ws-card-meta i { color: var(--ws-primary); margin-right: 4px; }
.ws-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--ws-border); }
.ws-price { font-family: var(--ws-head); font-weight: 800; font-size: 22px; color: var(--ws-ink); }
.ws-price small { font-size: 12px; font-weight: 600; color: var(--ws-ink-3); }
.ws-price.free { color: var(--ws-green); }
.ws-go { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ws-primary-soft); color: var(--ws-primary); transition: background .15s, color .15s; }
.ws-card:hover .ws-go { background: var(--ws-primary); color: #fff; }
.ws-stars { color: var(--ws-star); font-size: 13px; white-space: nowrap; }
.ws-stars .off { color: #dfe3eb; }
.ws-stars b { color: var(--ws-ink); margin-left: 4px; }
.ws-stars em { font-style: normal; color: var(--ws-ink-3); margin-left: 2px; }

/* ── Course details ── */
.ws-detail-hero h1 { margin-top: 12px; }
.ws-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ws-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--ws-border); font-size: 13.5px; font-weight: 600; color: var(--ws-ink-2); }
.ws-badge i { color: var(--ws-primary); }
.ws-badge.green { background: var(--ws-green-soft); border-color: #c9f0d8; color: #166534; }
.ws-badge.green i { color: var(--ws-green); }

.ws-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 32px; align-items: start; }
.ws-panel { background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); box-shadow: var(--ws-shadow); padding: 28px; }
.ws-panel + .ws-panel { margin-top: 24px; }
.ws-panel h3 { font-family: var(--ws-head); font-weight: 800; font-size: 21px; color: var(--ws-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.ws-panel h3 i { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ws-primary-soft); color: var(--ws-primary); font-size: 16px; }
.ws-about { color: var(--ws-ink-2); font-size: 15.5px; line-height: 1.8; white-space: pre-line; }

.ws-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.ws-stat { padding: 16px; border-radius: 14px; background: var(--ws-bg); border: 1px solid var(--ws-border); }
.ws-stat i { font-size: 18px; color: var(--ws-primary); }
.ws-stat b { display: block; font-family: var(--ws-head); font-size: 24px; color: var(--ws-ink); margin-top: 8px; line-height: 1.1; }
.ws-stat span { font-size: 13px; color: var(--ws-ink-3); }

.ws-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; list-style: none; padding: 0; margin: 0; }
.ws-features li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ws-ink-2); }
.ws-features li i { color: var(--ws-green); margin-top: 4px; }

.ws-syllabus details { border: 1px solid var(--ws-border); border-radius: 14px; background: #fff; overflow: hidden; }
.ws-syllabus details + details { margin-top: 10px; }
.ws-syllabus summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; color: var(--ws-ink); }
.ws-syllabus summary::-webkit-details-marker { display: none; }
.ws-syllabus summary .ws-num { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: var(--ws-blue-soft); color: var(--ws-blue); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.ws-syllabus summary small { margin-left: auto; color: var(--ws-ink-3); font-weight: 500; white-space: nowrap; }
.ws-syllabus summary::after { content: '\f107'; font-family: 'Font Awesome 5 Pro', 'Font Awesome 5 Free'; font-weight: 900; color: var(--ws-ink-3); transition: transform .2s; }
.ws-syllabus details[open] summary::after { transform: rotate(180deg); }
.ws-syllabus details[open] summary { background: var(--ws-bg); }
.ws-syllabus ol { margin: 0; padding: 6px 18px 16px 62px; color: var(--ws-ink-2); }
.ws-syllabus ol li { padding: 6px 0; border-bottom: 1px dashed var(--ws-border); }
.ws-syllabus ol li:last-child { border-bottom: 0; }

.ws-review { padding: 18px; border-radius: 14px; background: var(--ws-bg); border: 1px solid var(--ws-border); }
.ws-review + .ws-review { margin-top: 12px; }
.ws-review-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ws-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ws-review-top b { color: var(--ws-ink); display: block; font-size: 14.5px; }
.ws-review-top span { font-size: 12px; color: var(--ws-ink-3); }
.ws-review h4 { font-size: 15px; font-weight: 700; color: var(--ws-ink); margin: 0 0 4px; }
.ws-review p { margin: 0; color: var(--ws-ink-2); font-size: 14.5px; line-height: 1.65; }
.ws-tag { display: inline-block; margin: 8px 6px 0 0; padding: 3px 10px; border-radius: 100px; background: #fff; border: 1px solid var(--ws-border); font-size: 12px; color: var(--ws-ink-2); }
.ws-rating-big { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ws-rating-big b { font-family: var(--ws-head); font-size: 44px; color: var(--ws-ink); line-height: 1; }

/* Enrol card */
.ws-enroll { position: sticky; top: 110px; overflow: hidden; padding: 0; }
.ws-enroll-img { aspect-ratio: 16 / 10; background: var(--ws-blue-soft); }
.ws-enroll-img img { width: 100%; height: 100%; object-fit: cover; }
.ws-enroll-body { padding: 24px; }
.ws-enroll .ws-price { font-size: 34px; }
.ws-enroll ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.ws-enroll ul li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ws-border); font-size: 14px; color: var(--ws-ink-2); }
.ws-enroll ul li b { color: var(--ws-ink); text-align: right; }
.ws-enroll ul li i { color: var(--ws-primary); width: 18px; margin-right: 6px; }
.ws-enroll .ws-note { font-size: 12.5px; color: var(--ws-ink-3); text-align: center; margin: 12px 0 0; }
.ws-share { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.ws-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ws-border); color: var(--ws-ink-2); transition: all .15s; }
.ws-share a:hover { border-color: var(--ws-primary); color: var(--ws-primary); }

/* Call to action band */
.ws-cta { border-radius: 24px; padding: 44px; background: linear-gradient(120deg, #0f2239 0%, #1c3a66 60%, #4582ff 140%); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.ws-cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 127, 70, .55), transparent 70%); }
.ws-cta > * { position: relative; z-index: 1; }
.ws-cta h3 { font-family: var(--ws-head); font-weight: 800; color: #fff; margin: 0 0 6px; font-size: 26px; }
.ws-cta p { margin: 0; color: rgba(255, 255, 255, .8); }

/* Not found */
.ws-404 { text-align: center; padding: 80px 20px 90px; }
.ws-404 i { font-size: 56px; color: var(--ws-primary); margin-bottom: 18px; }
.ws-404 h1 { font-family: var(--ws-head); font-weight: 800; color: var(--ws-ink); }
.ws-404 p { color: var(--ws-ink-2); margin-bottom: 24px; }

/* Mobile sticky enrol bar (course details) */
.ws-mobile-bar { display: none; }

/* ═══ Site-wide: header, footer ═══ */
.ws-site { background: #fff; -webkit-font-smoothing: antialiased; }
.ws-site .main_header { height: 84px; }
.ws-site .main_menu { top: 0; height: 84px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(15, 34, 57, .06); }
.ws-site .main_menu .navbar-nav { line-height: 84px; }
.ws-site .main_menu .navbar-brand { max-width: 210px; }
.ws-site .main_menu .navbar-nav .nav-item { margin-right: 34px; }
.ws-site .main_menu .navbar-nav .nav-item:last-child { margin-right: 0; }
.ws-site .main_menu .navbar-nav .nav-item .nav-link { font-size: 15.5px; color: var(--ws-ink); }
.ws-site .main_menu .navbar-nav .nav-item .nav-link.active,
.ws-site .main_menu .navbar-nav .nav-item:hover .nav-link { color: var(--ws-primary); }
.ws-site .main_menu .navbar-nav .nav-item .common_btn { color: #fff; padding: 12px 24px; border-radius: 100px; background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); box-shadow: 0 8px 20px rgba(255, 127, 70, .3); }
.ws-site .main_menu .navbar-nav .nav-item:hover .common_btn { color: #fff; }
.ws-site .main_menu .tf__droap_menu { border-radius: 14px; overflow: hidden; box-shadow: var(--ws-shadow-lg); border: 1px solid var(--ws-border); }
.ws-site .menu_fix { height: 72px; box-shadow: 0 6px 24px rgba(15, 34, 57, .08); }
.ws-site .menu_fix .navbar-nav { line-height: 72px; }
.ws-site .menu_fix .navbar-brand { max-width: 180px; }

.ws-footer { position: relative; margin-top: 30px; padding: 70px 0 0; background: #0b1a2e; color: rgba(255, 255, 255, .72); overflow: hidden; }
.ws-footer::before { content: ''; position: absolute; left: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 127, 70, .22), transparent 70%); }
.ws-footer::after { content: ''; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(69, 130, 255, .2), transparent 70%); }
.ws-footer .container { position: relative; z-index: 1; }
.ws-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.ws-footer h3 { font-family: var(--ws-head); font-size: 17px; font-weight: 700; color: #fff; margin: 6px 0 20px; }
.ws-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .15s; }
.ws-footer a:hover { color: var(--ws-primary); }
.ws-footer p, .ws-footer span, .ws-footer li { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.ws-footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ws-footer-logo img { width: 64px !important; height: 64px !important; object-fit: contain !important; background: #fff; border-radius: 50%; padding: 3px; }
.ws-footer .ws-footer-logo span { font-family: var(--ws-head); font-weight: 800; color: #fff; font-size: 18px; line-height: 1.2; }
.ws-footer-quote { font-size: 14px; line-height: 1.75; margin: 0 0 20px; }
.ws-footer-quote b { color: #fff; font-weight: 600; }
.ws-footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-footer-social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .15s, transform .15s; }
.ws-footer-social a:hover { background: var(--ws-primary); color: #fff; transform: translateY(-3px); }
.ws-footer-links, .ws-footer-contact { list-style: none; padding: 0; margin: 0; }
.ws-footer-links li + li { margin-top: 12px; }
.ws-footer-links a::before { content: '\203A'; margin-right: 8px; color: var(--ws-primary); }
.ws-footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.ws-footer-contact li + li { margin-top: 14px; }
.ws-footer-contact i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 127, 70, .15); color: var(--ws-primary); font-size: 13px; }
.ws-footer-contact span, .ws-footer-contact a { padding-top: 5px; }
.ws-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.ws-footer-bottom p { margin: 0; }

/* Icon chips (home, contact) */
.ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; background: var(--ws-primary-soft); color: var(--ws-primary); }
.ic.orange { background: #fff1e8; color: #ff7f46; }
.ic.blue   { background: #eaf1ff; color: #4582ff; }
.ic.green  { background: #e8f8ee; color: #16a34a; }
.ic.purple { background: #f3edff; color: #7c4dff; }
.ic.red    { background: #ffecee; color: #f0466b; }
.ic.teal   { background: #e3f8f6; color: #0fa392; }

/* ═══ Home ═══ */
.wh-hero { position: relative; overflow: hidden; padding: 60px 0 110px;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(255, 127, 70, .16), transparent 65%),
    radial-gradient(700px 380px at 0% 100%, rgba(69, 130, 255, .13), transparent 65%),
    linear-gradient(180deg, #fffaf6 0%, #f7f8fc 100%); }
.wh-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.wh-hero h1 { font-family: var(--ws-head); font-weight: 800; color: var(--ws-ink); font-size: clamp(34px, 5vw, 60px); line-height: 1.08; margin: 20px 0 18px; letter-spacing: -.02em; }
.wh-hero h1 span { font: inherit; display: block; margin: 0; background: linear-gradient(135deg, var(--ws-primary), #ff4f6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wh-hero .ws-eyebrow { text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.wh-hero .lead { color: var(--ws-ink-2); font-size: 18px; line-height: 1.7; max-width: 560px; }
.wh-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.wh-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; color: var(--ws-ink-2); font-size: 14.5px; font-weight: 500; }
.wh-hero-trust i { color: var(--ws-green); margin-right: 6px; }
.wh-hero-art { position: relative; }
.wh-blob { position: absolute; inset: 6% 4% 0 8%; border-radius: 42% 58% 46% 54% / 52% 44% 56% 48%; background: linear-gradient(135deg, #ffd9c4, #cfe0ff); animation: wh-morph 12s ease-in-out infinite; }
@keyframes wh-morph { 50% { border-radius: 58% 42% 55% 45% / 44% 58% 42% 56%; } }
.wh-hero-img { position: relative; width: 100%; border-radius: 28px; mix-blend-mode: multiply; }
.wh-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: #fff; border-radius: 16px; box-shadow: var(--ws-shadow-lg); animation: wh-bob 5s ease-in-out infinite; }
.wh-float .ic { width: 40px; height: 40px; font-size: 16px; border-radius: 12px; }
.wh-float b { display: block; font-size: 14px; color: var(--ws-ink); line-height: 1.2; }
.wh-float small { font-size: 12px; color: var(--ws-ink-3); }
.wh-float-1 { left: -18px; top: 16%; }
.wh-float-2 { right: -10px; top: 46%; animation-delay: -1.6s; }
.wh-float-3 { left: 8%; bottom: -14px; animation-delay: -3.2s; }
@keyframes wh-bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .wh-blob, .wh-float, .wh-play { animation: none; } }

.wh-stats-wrap { margin-top: -50px; position: relative; z-index: 2; padding-bottom: 50px; }
.wh-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--ws-border); border-radius: 22px; box-shadow: var(--ws-shadow-lg); }
.wh-stats > div { padding: 26px 20px; text-align: center; position: relative; }
.wh-stats > div + div::before { content: ''; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--ws-border); }
.wh-stats i { font-size: 22px; color: var(--ws-primary); }
.wh-stats b { display: block; font-family: var(--ws-head); font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: var(--ws-ink); margin: 6px 0 2px; }
.wh-stats span { color: var(--ws-ink-3); font-size: 14px; }

.wh-banner { display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--ws-shadow-lg); transition: transform .25s; }
.wh-banner:hover { transform: translateY(-4px); }
.wh-banner img { display: block; width: 100%; height: auto !important; }

.wh-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wh-features.four { grid-template-columns: repeat(4, 1fr); }
.wh-feature { padding: 28px; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); box-shadow: var(--ws-shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.wh-feature:hover { transform: translateY(-6px); box-shadow: var(--ws-shadow-lg); border-color: transparent; }
.wh-feature h3 { font-family: var(--ws-head); font-weight: 700; font-size: 18px; color: var(--ws-ink); margin: 18px 0 8px; }
.wh-feature p { color: var(--ws-ink-2); font-size: 14.5px; line-height: 1.65; margin: 0; }

.wh-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }

.wh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wh-step { position: relative; padding: 30px 24px 26px; background: #fff; border-radius: var(--ws-radius); border: 1px solid var(--ws-border); box-shadow: var(--ws-shadow); }
.wh-step .n { position: absolute; right: 18px; top: 10px; font-family: var(--ws-head); font-weight: 800; font-size: 54px; line-height: 1; color: #f1f3f8; }
.wh-step i { position: relative; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); box-shadow: 0 10px 22px rgba(255, 127, 70, .3); }
.wh-step:nth-child(2) i { background: linear-gradient(135deg, #4582ff, #6aa0ff); box-shadow: 0 10px 22px rgba(69, 130, 255, .3); }
.wh-step:nth-child(3) i { background: linear-gradient(135deg, #16a34a, #34c26a); box-shadow: 0 10px 22px rgba(22, 163, 74, .3); }
.wh-step:nth-child(4) i { background: linear-gradient(135deg, #7c4dff, #a07bff); box-shadow: 0 10px 22px rgba(124, 77, 255, .3); }
.wh-step h3 { position: relative; font-family: var(--ws-head); font-weight: 700; font-size: 18px; color: var(--ws-ink); margin: 18px 0 8px; }
.wh-step p { position: relative; color: var(--ws-ink-2); font-size: 14.5px; margin: 0; line-height: 1.6; }

.wh-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.wh-vm-card { padding: 34px; border-radius: 24px; background: linear-gradient(160deg, #fff6f0, #fff); border: 1px solid #ffe2d2; }
.wh-vm-card.dark { background: linear-gradient(150deg, #0f2239, #1c3a66); border-color: transparent; color: rgba(255, 255, 255, .8); }
.wh-vm-card h3 { font-family: var(--ws-head); font-weight: 800; font-size: 24px; color: var(--ws-ink); margin: 18px 0 14px; }
.wh-vm-card.dark h3, .wh-vm-card.dark b { color: #fff; }
.wh-vm-card.dark .ic { background: rgba(255, 255, 255, .1); color: #fff; }
.wh-vm-card blockquote { margin: 0 0 14px; padding-left: 16px; border-left: 4px solid var(--ws-primary); font-weight: 600; font-size: 17px; line-height: 1.7; color: var(--ws-ink); }
.wh-vm-card.dark blockquote { color: #fff; }
.wh-vm-card p { font-size: 15.5px; line-height: 1.8; margin: 0 0 10px; color: inherit; }

.wh-quote { display: grid; grid-template-columns: 420px 1fr; align-items: stretch; border-radius: 24px; overflow: hidden; background: linear-gradient(120deg, #ff7f46, #ff9f43); box-shadow: 0 20px 50px rgba(255, 127, 70, .3); }
.wh-quote img { width: 100%; height: 100%; object-fit: cover; object-position: left center; min-height: 240px; }
.wh-quote-text { padding: 38px 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.wh-quote-text i { font-size: 34px; opacity: .45; margin-bottom: 10px; }
.wh-quote-text p { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; line-height: 1.6; margin: 0 0 10px; color: #fff; }
.wh-quote-text span { opacity: .85; font-size: 15px; }
.wh-quote-text b { margin-top: 12px; font-size: 15px; }

.wh-testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wh-testi { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); box-shadow: var(--ws-shadow); position: relative; }
.wh-testi::before { content: '\201C'; position: absolute; right: 22px; top: 2px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: #fde3d6; }
.wh-testi p { color: var(--ws-ink-2); font-size: 15px; line-height: 1.75; margin: 14px 0 20px; }
.wh-testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--ws-border); }
.wh-testi .who b { display: block; color: var(--ws-ink); font-size: 15px; }
.wh-testi .who small { color: var(--ws-ink-3); font-size: 12.5px; }

.wh-duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.wh-video { position: relative; overflow: hidden; border-radius: 24px; padding: 44px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(180deg, rgba(15, 34, 57, .25), rgba(15, 34, 57, .92)), url('../images/faq_img.jpg') center / cover; }
.wh-video h3 { font-family: var(--ws-head); font-weight: 800; color: #fff; font-size: 26px; margin: 0 0 8px; }
.wh-video p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 480px; }
.wh-play { position: absolute; left: 44px; top: 40px; width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ws-primary); font-size: 22px; animation: wh-pulse 2s infinite; }
.wh-play:hover { color: var(--ws-primary); }
@keyframes wh-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); } 70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.wh-career { border-radius: 24px; padding: 40px; background: linear-gradient(160deg, #eef3ff, #fff); border: 1px solid #dbe6ff; }
.wh-career .ic { background: #4582ff; color: #fff; }
.wh-career h3 { font-family: var(--ws-head); font-weight: 800; font-size: 23px; color: var(--ws-ink); margin: 18px 0 10px; }
.wh-career p { color: var(--ws-ink-2); margin: 0 0 22px; }

/* ═══ Contact ═══ */
.wc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wc-card { padding: 26px; background: #fff; border: 1px solid var(--ws-border); border-radius: var(--ws-radius); box-shadow: var(--ws-shadow-lg); }
.wc-card h3 { font-family: var(--ws-head); font-weight: 700; font-size: 17px; color: var(--ws-ink); margin: 16px 0 8px; }
.wc-card a { display: block; color: var(--ws-ink); font-weight: 600; font-size: 15px; }
.wc-card a:hover { color: var(--ws-primary); }
.wc-card small, .wc-card p { display: block; color: var(--ws-ink-3); font-size: 13.5px; margin: 4px 0 0; line-height: 1.6; }
.wc-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 30px; }
.wc-form > p { margin-bottom: 20px; }
.wc-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ws-ink); margin-bottom: 6px; }
.wc-form input, .wc-form select, .wc-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-bg); font-size: 15px; color: var(--ws-ink); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.wc-form input:focus, .wc-form select:focus, .wc-form textarea:focus { border-color: var(--ws-primary); background: #fff; box-shadow: 0 0 0 4px rgba(255, 127, 70, .12); }
.wc-error { color: #dc2626; font-size: 14px; min-height: 20px; margin-bottom: 8px; }
.wc-map { border-radius: var(--ws-radius); overflow: hidden; box-shadow: var(--ws-shadow); border: 1px solid var(--ws-border); min-height: 420px; }
.wc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ═══ Older template pages (about, blog, terms, career test) ═══ */
.ws-site .tf__heading_area h5 { color: var(--ws-primary); }
.ws-site .tf__single_blog { border-radius: var(--ws-radius); overflow: hidden; box-shadow: var(--ws-shadow); border: 1px solid var(--ws-border); transition: transform .2s, box-shadow .2s; }
.ws-site .tf__single_blog:hover { transform: translateY(-6px); box-shadow: var(--ws-shadow-lg); }
.ws-site .tf__single_blog .category { border-radius: 100px; }
.ws-site .tt__hero { padding-top: 60px; }
.ws-site .tt__hero h1 span { font: inherit; display: inline; margin: 0; color: var(--tt-accent, #f4a836); }

@media (max-width: 991px) {
  .ws-layout { grid-template-columns: 1fr; }
  .ws-enroll { position: static; }
  .ws-hero { padding: 50px 0 60px; }
  .ws-mobile-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px; background: #fff; border-top: 1px solid var(--ws-border); box-shadow: 0 -10px 30px rgba(15, 34, 57, .1); }
  .ws-mobile-bar .ws-price { font-size: 22px; }
  .ws-has-bar { padding-bottom: 80px; }
  .ws-footer-grid { grid-template-columns: 1fr 1fr; }
  .wh-hero { padding: 50px 0 90px; }
  .wh-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .wh-hero-art { max-width: 560px; margin: 0 auto; }
  .wh-features, .wh-features.four, .wh-testis { grid-template-columns: repeat(2, 1fr); }
  .wh-steps { grid-template-columns: repeat(2, 1fr); }
  .wh-vm, .wh-duo, .wc-main { grid-template-columns: 1fr; }
  .wh-quote { grid-template-columns: 1fr; }
  .wh-quote img { max-height: 260px; object-position: center 20%; }
  .wc-cards { grid-template-columns: repeat(2, 1fr); }
  .ws-site .main_menu { height: auto; }
  .ws-site .main_menu .navbar-nav { line-height: normal; }
  .ws-site .main_menu .navbar-nav .nav-item { margin-right: 0; }
}
@media (max-width: 575px) {
  .ws-features { grid-template-columns: 1fr; }
  .ws-panel { padding: 20px; }
  .ws-cta { padding: 30px 22px; }
  .ws-filter { margin-top: -26px; }
  .ws-section { padding: 50px 0; }
  .ws-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .wh-features, .wh-features.four, .wh-testis, .wh-steps, .wc-cards { grid-template-columns: 1fr; }
  .wh-stats { grid-template-columns: repeat(2, 1fr); }
  .wh-stats > div:nth-child(3)::before { display: none; }
  .wh-stats > div:nth-child(n+3) { border-top: 1px solid var(--ws-border); }
  .wh-float { padding: 8px 12px 8px 8px; }
  .wh-float .ic { width: 32px; height: 32px; font-size: 13px; }
  .wh-float b { font-size: 12.5px; }
  .wh-float small { display: none; }
  .wh-float-1 { left: 0; }
  .wh-float-2 { right: 0; }
  .wh-quote-text, .wh-video, .wh-career, .wh-vm-card { padding: 28px 22px; }
  .wh-play { left: 22px; top: 24px; width: 60px; height: 60px; }
  .wh-head-row { align-items: flex-start; }
}

/* ── Centers page (map of all centers) ── prefix: wcn- */
.wcn-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.wcn-stats div { background: #fff; border: 1px solid var(--ws-border); border-radius: 14px; padding: 12px 20px; box-shadow: var(--ws-shadow); min-width: 130px; }
.wcn-stats strong { display: block; font-family: var(--ws-head); font-size: 26px; font-weight: 800; color: var(--ws-primary); line-height: 1.1; }
.wcn-stats span { font-size: 13px; color: var(--ws-ink-2); }

.wcn-section { padding-top: 40px; }
.wcn-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wcn-search { position: relative; flex: 1 1 320px; }
.wcn-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ws-ink-3); }
.wcn-search input, .wcn-toolbar select {
  width: 100%; height: 48px; border: 1px solid var(--ws-border); border-radius: 100px; background: #fff;
  padding: 0 18px 0 42px; font-size: 15px; color: var(--ws-ink); outline: none; box-shadow: var(--ws-shadow);
}
.wcn-toolbar select { width: auto; flex: 0 1 220px; padding: 0 18px; cursor: pointer; }
.wcn-search input:focus, .wcn-toolbar select:focus { border-color: var(--ws-primary); }
.wcn-toolbar .ws-btn { height: 48px; }
.wcn-result { margin: 14px 4px 16px; font-size: 14px; color: var(--ws-ink-3); }

.wcn-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px; align-items: start; }
.wcn-list { display: flex; flex-direction: column; gap: 12px; max-height: 620px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.wcn-map-col { position: sticky; top: 100px; }
#wcnMap { height: 620px; border-radius: var(--ws-radius); border: 1px solid var(--ws-border); box-shadow: var(--ws-shadow); z-index: 0; }

.wcn-card {
  display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--ws-border); border-radius: 16px;
  cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; outline: none;
}
.wcn-card:hover, .wcn-card:focus-visible { border-color: var(--ws-primary); box-shadow: var(--ws-shadow); transform: translateY(-1px); }
.wcn-card.active { border-color: var(--ws-primary); background: var(--ws-primary-soft); }
.wcn-logo { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 14px; object-fit: cover; border: 1px solid var(--ws-border); background: #fff; }
.wcn-logo.ph, .wcn-pop-logo.ph {
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--ws-head); font-weight: 800;
  color: var(--ws-primary); background: var(--ws-primary-soft); border-color: transparent;
}
.wcn-body { min-width: 0; flex: 1; }
.wcn-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.wcn-card h3 { font-family: var(--ws-head); font-size: 16px; font-weight: 700; color: var(--ws-ink); margin: 0; line-height: 1.3; }
.wcn-dist { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--ws-blue); background: var(--ws-blue-soft); padding: 2px 10px; border-radius: 100px; }
.wcn-code { display: block; font-size: 12.5px; color: var(--ws-ink-3); margin: 3px 0 6px; }
.wcn-card p { font-size: 13.5px; color: var(--ws-ink-2); margin: 0 0 10px; line-height: 1.5; }
.wcn-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.wcn-act {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--ws-border); color: var(--ws-ink); background: #fff; text-decoration: none;
}
.wcn-act:hover { border-color: var(--ws-primary); color: var(--ws-primary); text-decoration: none; }
.wcn-act.wa { color: var(--ws-green); }
.wcn-act.dir { background: var(--ws-primary); border-color: var(--ws-primary); color: #fff; }
.wcn-act.dir:hover { color: #fff; filter: brightness(1.05); }
.wcn-empty { text-align: center; padding: 50px 20px; color: var(--ws-ink-3); background: #fff; border: 1px dashed var(--ws-border); border-radius: 16px; }
.wcn-empty i { font-size: 30px; margin-bottom: 10px; color: var(--ws-primary); }

.wcn-pin-wrap { background: none; border: 0; }
.wcn-pin {
  display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.wcn-pin i { transform: rotate(45deg); color: #fff; font-size: 14px; }
.wcn-me { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--ws-blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(69, 130, 255, .25); }

#wcnMap .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--ws-shadow-lg); }
#wcnMap .leaflet-popup-content { margin: 14px 16px; font-family: var(--ws-font); }
.wcn-pop-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.wcn-pop-logo { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--ws-border); }
.wcn-pop-head strong { display: block; font-family: var(--ws-head); font-size: 14px; color: var(--ws-ink); line-height: 1.3; }
.wcn-pop-head small { color: var(--ws-ink-3); font-size: 12px; }
.wcn-pop p { display: flex; gap: 8px; margin: 0 0 6px !important; font-size: 13px; color: var(--ws-ink-2); line-height: 1.45; }
.wcn-pop p i { width: 14px; margin-top: 3px; color: var(--ws-primary); text-align: center; }
.wcn-pop .wcn-acts { margin-top: 10px; }

.wcn-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 40px; padding: 28px 32px; border-radius: var(--ws-radius); color: #fff;
  background: linear-gradient(135deg, var(--ws-primary), var(--ws-primary-2)); box-shadow: 0 14px 34px rgba(255, 127, 70, .3);
}
.wcn-cta h3 { font-family: var(--ws-head); font-weight: 800; font-size: 22px; color: #fff; margin: 0 0 4px; }
.wcn-cta p { margin: 0; color: rgba(255, 255, 255, .9); }

@media (max-width: 991px) {
  .wcn-layout { grid-template-columns: 1fr; }
  .wcn-map-col { position: static; order: -1; }
  #wcnMap { height: 400px; }
  .wcn-list { max-height: none; overflow: visible; padding: 0; }
}
@media (max-width: 575px) {
  .wcn-toolbar select { flex: 1 1 100%; }
  .wcn-toolbar .ws-btn { flex: 1 1 100%; }
  .wcn-stats div { flex: 1 1 90px; min-width: 0; padding: 10px 14px; }
  #wcnMap { height: 340px; }
  .wcn-cta { padding: 22px; }
}
.wcn-card img.wcn-logo, .wcn-pop img.wcn-pop-logo { max-width: none; height: auto; aspect-ratio: 1; }
.wcn-card img.wcn-logo { width: 54px !important; height: 54px !important; }
.wcn-pop img.wcn-pop-logo { width: 40px !important; height: 40px !important; }
/* style.css sizes every img to 100% !important; Leaflet tiles and markers need their own size */
#wcnMap img { width: auto !important; height: auto !important; max-width: none !important; max-height: none !important; object-fit: initial !important; }
#wcnMap img.leaflet-tile { width: 256px !important; height: 256px !important; }
